Skip to content

Commit fdd691b

Browse files
committed
Fix duplicate note on platform_intrinsics feature gate
1 parent 2e7e0fb commit fdd691b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lint/src/builtin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2273,7 +2273,7 @@ impl EarlyLintPass for IncompleteInternalFeatures {
22732273
cx.emit_spanned_lint(
22742274
INTERNAL_FEATURES,
22752275
span,
2276-
BuiltinInternalFeatures { name, note },
2276+
BuiltinInternalFeatures { name, note: None }, // Passing 'None' as 'BuiltinInternalFeatures' struct already has '#[note]' attr
22772277
);
22782278
}
22792279
});

0 commit comments

Comments
 (0)