File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
rustc_error_messages/locales/en-US Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -352,3 +352,5 @@ lint-builtin-const-no-mangle = const items should never be `#[no_mangle]`
352352
353353lint-builtin-mutable-transmutes =
354354 transmuting &T to &mut T is undefined behavior, even if the reference is unused, consider instead using an UnsafeCell
355+
356+ lint-builtin-unstable-features = unstable feature
Original file line number Diff line number Diff line change @@ -1323,7 +1323,7 @@ impl<'tcx> LateLintPass<'tcx> for UnstableFeatures {
13231323 if let Some ( items) = attr. meta_item_list ( ) {
13241324 for item in items {
13251325 cx. struct_span_lint ( UNSTABLE_FEATURES , item. span ( ) , |lint| {
1326- lint. build ( "unstable feature" ) . emit ( ) ;
1326+ lint. build ( fluent :: lint :: builtin_unstable_features ) . emit ( ) ;
13271327 } ) ;
13281328 }
13291329 }
You can’t perform that action at this time.
0 commit comments