Skip to content

Commit c1d75a2

Browse files
authored
fix names in feature(...) suggestion
1 parent 026d8ce commit c1d75a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_feature/src/builtin_attrs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
453453
// Internal attributes: Stability, deprecation, and unsafe:
454454
// ==========================================================================
455455

456-
ungated!(feature, CrateLevel, template!(List: "name1, name1, ..."), DuplicatesOk),
456+
ungated!(feature, CrateLevel, template!(List: "name1, name2, ..."), DuplicatesOk),
457457
// DuplicatesOk since it has its own validation
458458
ungated!(
459459
rustc_deprecated, Normal,

0 commit comments

Comments
 (0)