File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ use syntax::ast::Ident;
11
11
12
12
declare_lint ! {
13
13
pub DEFAULT_HASH_TYPES ,
14
- Warn ,
14
+ Allow ,
15
15
"forbid HashMap and HashSet and suggest the FxHash* variants"
16
16
}
17
17
@@ -64,7 +64,7 @@ impl EarlyLintPass for DefaultHashTypes {
64
64
65
65
declare_lint ! {
66
66
pub USAGE_OF_TY_TYKIND ,
67
- Warn ,
67
+ Allow ,
68
68
"Usage of `ty::TyKind` outside of the `ty::sty` module"
69
69
}
70
70
Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ pub fn create_session(
109
109
let codegen_backend = get_codegen_backend ( & sess) ;
110
110
111
111
rustc_lint:: register_builtins ( & mut sess. lint_store . borrow_mut ( ) , Some ( & sess) ) ;
112
+ rustc_lint:: register_internals ( & mut sess. lint_store . borrow_mut ( ) , Some ( & sess) ) ;
112
113
113
114
let mut cfg = config:: build_configuration ( & sess, config:: to_crate_config ( cfg) ) ;
114
115
add_configuration ( & mut cfg, & sess, & * codegen_backend) ;
You can’t perform that action at this time.
0 commit comments