@@ -34,7 +34,7 @@ declare_tool_lint! {
3434 pub rustc:: DEFAULT_HASH_TYPES ,
3535 Allow ,
3636 "forbid HashMap and HashSet and suggest the FxHash* variants" ,
37- report_in_external_macro: true
37+ @ report_in_external_macro = true
3838}
3939
4040declare_lint_pass ! ( DefaultHashTypes => [ DEFAULT_HASH_TYPES ] ) ;
@@ -73,7 +73,7 @@ declare_tool_lint! {
7373 pub rustc:: POTENTIAL_QUERY_INSTABILITY ,
7474 Allow ,
7575 "require explicit opt-in when using potentially unstable methods or functions" ,
76- report_in_external_macro: true
76+ @ report_in_external_macro = true
7777}
7878
7979declare_tool_lint ! {
@@ -84,7 +84,7 @@ declare_tool_lint! {
8484 pub rustc:: UNTRACKED_QUERY_INFORMATION ,
8585 Allow ,
8686 "require explicit opt-in when accessing information not tracked by the query system" ,
87- report_in_external_macro: true
87+ @ report_in_external_macro = true
8888}
8989
9090declare_lint_pass ! ( QueryStability => [ POTENTIAL_QUERY_INSTABILITY , UNTRACKED_QUERY_INFORMATION ] ) ;
@@ -201,7 +201,7 @@ declare_tool_lint! {
201201 pub rustc:: USAGE_OF_TY_TYKIND ,
202202 Allow ,
203203 "usage of `ty::TyKind` outside of the `ty::sty` module" ,
204- report_in_external_macro: true
204+ @ report_in_external_macro = true
205205}
206206
207207declare_tool_lint ! {
@@ -210,7 +210,7 @@ declare_tool_lint! {
210210 pub rustc:: USAGE_OF_QUALIFIED_TY ,
211211 Allow ,
212212 "using `ty::{Ty,TyCtxt}` instead of importing it" ,
213- report_in_external_macro: true
213+ @ report_in_external_macro = true
214214}
215215
216216declare_lint_pass ! ( TyTyKind => [
@@ -347,7 +347,7 @@ declare_tool_lint! {
347347 pub rustc:: NON_GLOB_IMPORT_OF_TYPE_IR_INHERENT ,
348348 Allow ,
349349 "non-glob import of `rustc_type_ir::inherent`" ,
350- report_in_external_macro: true
350+ @ report_in_external_macro = true
351351}
352352
353353declare_tool_lint ! {
@@ -357,7 +357,7 @@ declare_tool_lint! {
357357 pub rustc:: USAGE_OF_TYPE_IR_INHERENT ,
358358 Allow ,
359359 "usage `rustc_type_ir::inherent` outside of trait system" ,
360- report_in_external_macro: true
360+ @ report_in_external_macro = true
361361}
362362
363363declare_tool_lint ! {
@@ -370,7 +370,7 @@ declare_tool_lint! {
370370 pub rustc:: USAGE_OF_TYPE_IR_TRAITS ,
371371 Allow ,
372372 "usage `rustc_type_ir`-specific abstraction traits outside of trait system" ,
373- report_in_external_macro: true
373+ @ report_in_external_macro = true
374374}
375375declare_tool_lint ! {
376376 /// The `direct_use_of_rustc_type_ir` lint detects usage of `rustc_type_ir`.
@@ -380,7 +380,7 @@ declare_tool_lint! {
380380 pub rustc:: DIRECT_USE_OF_RUSTC_TYPE_IR ,
381381 Allow ,
382382 "usage `rustc_type_ir` abstraction outside of trait system" ,
383- report_in_external_macro: true
383+ @ report_in_external_macro = true
384384}
385385
386386declare_lint_pass ! ( TypeIr => [
@@ -541,7 +541,7 @@ declare_tool_lint! {
541541 pub rustc:: BAD_OPT_ACCESS ,
542542 Deny ,
543543 "prevent using options by field access when there is a wrapper function" ,
544- report_in_external_macro: true
544+ @ report_in_external_macro = true
545545}
546546
547547declare_lint_pass ! ( BadOptAccess => [ BAD_OPT_ACCESS ] ) ;
@@ -575,7 +575,7 @@ declare_tool_lint! {
575575 pub rustc:: SYMBOL_INTERN_STRING_LITERAL ,
576576 Allow ,
577577 "Forbid uses of string literals in `Symbol::intern` or `Ident::from_str_and_span`, suggesting preinterning instead" ,
578- report_in_external_macro: true
578+ @ report_in_external_macro = true
579579}
580580
581581declare_lint_pass ! ( SymbolInternStringLiteral => [ SYMBOL_INTERN_STRING_LITERAL ] ) ;
@@ -617,7 +617,7 @@ declare_tool_lint! {
617617 pub rustc:: IMPLICIT_SYSROOT_CRATE_IMPORT ,
618618 Allow ,
619619 "Forbid uses of non-sysroot crates in `extern crate`" ,
620- report_in_external_macro: true
620+ @ report_in_external_macro = true
621621}
622622
623623declare_lint_pass ! ( ImplicitSysrootCrateImport => [ IMPLICIT_SYSROOT_CRATE_IMPORT ] ) ;
@@ -651,7 +651,7 @@ declare_tool_lint! {
651651 pub rustc:: BAD_USE_OF_FIND_ATTR ,
652652 Allow ,
653653 "Forbid `AttributeKind::` as a prefix in `find_attr!` macros." ,
654- report_in_external_macro: true
654+ @ report_in_external_macro = true
655655}
656656declare_lint_pass ! ( BadUseOfFindAttr => [ BAD_USE_OF_FIND_ATTR ] ) ;
657657
@@ -739,7 +739,7 @@ declare_tool_lint! {
739739 pub rustc:: RUSTC_MUST_MATCH_EXHAUSTIVELY ,
740740 Allow ,
741741 "Forbids matches with wildcards, or if-let matching on enums marked with `#[rustc_must_match_exhaustively]`" ,
742- report_in_external_macro: true
742+ @ report_in_external_macro = true
743743}
744744declare_lint_pass ! ( RustcMustMatchExhaustively => [ RUSTC_MUST_MATCH_EXHAUSTIVELY ] ) ;
745745
@@ -853,7 +853,7 @@ declare_tool_lint! {
853853 // This lint is meant to be manually enabled in selected crates (currently only `rustc_type_ir`)
854854 Allow ,
855855 "Forbid implementing `TypeVisitable` without deriving `GenericTypeVisitable`" ,
856- report_in_external_macro: true
856+ @ report_in_external_macro = true
857857}
858858
859859declare_lint_pass ! ( MissingGenericTypeVisitableDerive => [ MISSING_GENERIC_TYPE_VISITABLE_DERIVE ] ) ;
0 commit comments