@@ -12,7 +12,8 @@ use syntax::ast::{Ident, Item, ItemKind};
12
12
declare_tool_lint ! {
13
13
pub rustc:: DEFAULT_HASH_TYPES ,
14
14
Allow ,
15
- "forbid HashMap and HashSet and suggest the FxHash* variants"
15
+ "forbid HashMap and HashSet and suggest the FxHash* variants" ,
16
+ report_in_external_macro: true
16
17
}
17
18
18
19
pub struct DefaultHashTypes {
@@ -52,19 +53,22 @@ impl EarlyLintPass for DefaultHashTypes {
52
53
declare_tool_lint ! {
53
54
pub rustc:: USAGE_OF_TY_TYKIND ,
54
55
Allow ,
55
- "usage of `ty::TyKind` outside of the `ty::sty` module"
56
+ "usage of `ty::TyKind` outside of the `ty::sty` module" ,
57
+ report_in_external_macro: true
56
58
}
57
59
58
60
declare_tool_lint ! {
59
61
pub rustc:: TY_PASS_BY_REFERENCE ,
60
62
Allow ,
61
- "passing `Ty` or `TyCtxt` by reference"
63
+ "passing `Ty` or `TyCtxt` by reference" ,
64
+ report_in_external_macro: true
62
65
}
63
66
64
67
declare_tool_lint ! {
65
68
pub rustc:: USAGE_OF_QUALIFIED_TY ,
66
69
Allow ,
67
- "using `ty::{Ty,TyCtxt}` instead of importing it"
70
+ "using `ty::{Ty,TyCtxt}` instead of importing it" ,
71
+ report_in_external_macro: true
68
72
}
69
73
70
74
declare_lint_pass ! ( TyTyKind => [
0 commit comments