File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ pub struct DefaultHashTypes {
23
23
24
24
impl DefaultHashTypes {
25
25
// we are allowed to use `HashMap` and `HashSet` as identifiers for implementing the lint itself
26
- #[ allow( internal ) ]
26
+ #[ allow( default_hash_types ) ]
27
27
pub fn new ( ) -> Self {
28
28
let mut map = FxHashMap :: default ( ) ;
29
29
map. insert ( sym:: HashMap , sym:: FxHashMap ) ;
Original file line number Diff line number Diff line change 27
27
#![ cfg_attr( test, feature( test) ) ]
28
28
29
29
#![ deny( rust_2018_idioms) ]
30
+ #![ allow( default_hash_types) ]
30
31
31
32
#[ macro_use]
32
33
extern crate log;
Original file line number Diff line number Diff line change 1
1
#![ feature( proc_macro_hygiene) ]
2
2
#![ deny( rust_2018_idioms) ]
3
+ #![ allow( default_hash_types) ]
3
4
4
5
extern crate proc_macro;
5
6
You can’t perform that action at this time.
0 commit comments