@@ -166,7 +166,7 @@ macro_rules! experimental {
166
166
}
167
167
168
168
const IMPL_DETAIL : & str = "internal implementation detail" ;
169
- const INTERAL_UNSTABLE : & str = "this is an internal attribute that will never be stable" ;
169
+ const INTERNAL_UNSTABLE : & str = "this is an internal attribute that will never be stable" ;
170
170
171
171
pub type BuiltinAttribute = ( Symbol , AttributeType , AttributeTemplate , AttributeGate ) ;
172
172
@@ -418,14 +418,14 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
418
418
linkage, Whitelisted , template!( NameValueStr : "external|internal|..." ) ,
419
419
"the `linkage` attribute is experimental and not portable across platforms" ,
420
420
) ,
421
- rustc_attr ! ( rustc_std_internal_symbol, Whitelisted , template!( Word ) , INTERAL_UNSTABLE ) ,
421
+ rustc_attr ! ( rustc_std_internal_symbol, Whitelisted , template!( Word ) , INTERNAL_UNSTABLE ) ,
422
422
423
423
// ==========================================================================
424
424
// Internal attributes, Macro related:
425
425
// ==========================================================================
426
426
427
427
rustc_attr ! ( rustc_builtin_macro, Whitelisted , template!( Word ) , IMPL_DETAIL ) ,
428
- rustc_attr ! ( rustc_proc_macro_decls, Normal , template!( Word ) , INTERAL_UNSTABLE ) ,
428
+ rustc_attr ! ( rustc_proc_macro_decls, Normal , template!( Word ) , INTERNAL_UNSTABLE ) ,
429
429
rustc_attr ! (
430
430
rustc_macro_transparency, Whitelisted ,
431
431
template!( NameValueStr : "transparent|semitransparent|opaque" ) ,
@@ -436,25 +436,24 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
436
436
// Internal attributes, Diagnostics related:
437
437
// ==========================================================================
438
438
439
- gated ! (
439
+ rustc_attr ! (
440
440
rustc_on_unimplemented, Whitelisted ,
441
441
template!(
442
442
List : r#"/*opt*/ message = "...", /*opt*/ label = "...", /*opt*/ note = "...""# ,
443
443
NameValueStr : "message"
444
444
) ,
445
- on_unimplemented,
446
- experimental!( rustc_on_unimplemented) ,
445
+ INTERNAL_UNSTABLE
447
446
) ,
448
447
// Whitelists "identity-like" conversion methods to suggest on type mismatch.
449
- rustc_attr ! ( rustc_conversion_suggestion, Whitelisted , template!( Word ) , INTERAL_UNSTABLE ) ,
448
+ rustc_attr ! ( rustc_conversion_suggestion, Whitelisted , template!( Word ) , INTERNAL_UNSTABLE ) ,
450
449
451
450
// ==========================================================================
452
451
// Internal attributes, Const related:
453
452
// ==========================================================================
454
453
455
454
rustc_attr ! ( rustc_promotable, Whitelisted , template!( Word ) , IMPL_DETAIL ) ,
456
455
rustc_attr ! ( rustc_allow_const_fn_ptr, Whitelisted , template!( Word ) , IMPL_DETAIL ) ,
457
- rustc_attr ! ( rustc_args_required_const, Whitelisted , template!( List : "N" ) , INTERAL_UNSTABLE ) ,
456
+ rustc_attr ! ( rustc_args_required_const, Whitelisted , template!( List : "N" ) , INTERNAL_UNSTABLE ) ,
458
457
459
458
// ==========================================================================
460
459
// Internal attributes, Layout related:
0 commit comments