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]`
352
352
353
353
lint-builtin-mutable-transmutes =
354
354
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 {
1323
1323
if let Some ( items) = attr. meta_item_list ( ) {
1324
1324
for item in items {
1325
1325
cx. struct_span_lint ( UNSTABLE_FEATURES , item. span ( ) , |lint| {
1326
- lint. build ( "unstable feature" ) . emit ( ) ;
1326
+ lint. build ( fluent :: lint :: builtin_unstable_features ) . emit ( ) ;
1327
1327
} ) ;
1328
1328
}
1329
1329
}
You can’t perform that action at this time.
0 commit comments