@@ -12,13 +12,8 @@ pub const APPLICABILITY_VALUES: [[&str; 3]; 4] = [
12
12
[ "rustc_lint_defs" , "Applicability" , "MachineApplicable" ] ,
13
13
] ;
14
14
pub const DIAG : [ & str ; 2 ] = [ "rustc_errors" , "Diag" ] ;
15
- pub const BINARYHEAP_ITER : [ & str ; 5 ] = [ "alloc" , "collections" , "binary_heap" , "BinaryHeap" , "iter" ] ;
16
15
pub const BTREEMAP_CONTAINS_KEY : [ & str ; 6 ] = [ "alloc" , "collections" , "btree" , "map" , "BTreeMap" , "contains_key" ] ;
17
16
pub const BTREEMAP_INSERT : [ & str ; 6 ] = [ "alloc" , "collections" , "btree" , "map" , "BTreeMap" , "insert" ] ;
18
- pub const BTREESET_ITER : [ & str ; 6 ] = [ "alloc" , "collections" , "btree" , "set" , "BTreeSet" , "iter" ] ;
19
- pub const CORE_ITER_CLONED : [ & str ; 6 ] = [ "core" , "iter" , "traits" , "iterator" , "Iterator" , "cloned" ] ;
20
- pub const CORE_ITER_COPIED : [ & str ; 6 ] = [ "core" , "iter" , "traits" , "iterator" , "Iterator" , "copied" ] ;
21
- pub const CORE_ITER_FILTER : [ & str ; 6 ] = [ "core" , "iter" , "traits" , "iterator" , "Iterator" , "filter" ] ;
22
17
pub const CORE_RESULT_OK_METHOD : [ & str ; 4 ] = [ "core" , "result" , "Result" , "ok" ] ;
23
18
pub const CSTRING_AS_C_STR : [ & str ; 5 ] = [ "alloc" , "ffi" , "c_str" , "CString" , "as_c_str" ] ;
24
19
pub const EARLY_CONTEXT : [ & str ; 2 ] = [ "rustc_lint" , "EarlyContext" ] ;
@@ -39,7 +34,6 @@ pub const HASHMAP_VALUES: [&str; 5] = ["std", "collections", "hash", "map", "Val
39
34
pub const HASHMAP_DRAIN : [ & str ; 5 ] = [ "std" , "collections" , "hash" , "map" , "Drain" ] ;
40
35
pub const HASHMAP_VALUES_MUT : [ & str ; 5 ] = [ "std" , "collections" , "hash" , "map" , "ValuesMut" ] ;
41
36
pub const HASHSET_ITER_TY : [ & str ; 5 ] = [ "std" , "collections" , "hash" , "set" , "Iter" ] ;
42
- pub const HASHSET_ITER : [ & str ; 6 ] = [ "std" , "collections" , "hash" , "set" , "HashSet" , "iter" ] ;
43
37
pub const HASHSET_DRAIN : [ & str ; 5 ] = [ "std" , "collections" , "hash" , "set" , "Drain" ] ;
44
38
pub const IDENT : [ & str ; 3 ] = [ "rustc_span" , "symbol" , "Ident" ] ;
45
39
pub const IDENT_AS_STR : [ & str ; 4 ] = [ "rustc_span" , "symbol" , "Ident" , "as_str" ] ;
@@ -71,13 +65,11 @@ pub const REGEX_SET_NEW: [&str; 3] = ["regex", "RegexSet", "new"];
71
65
pub const SERDE_DESERIALIZE : [ & str ; 3 ] = [ "serde" , "de" , "Deserialize" ] ;
72
66
pub const SERDE_DE_VISITOR : [ & str ; 3 ] = [ "serde" , "de" , "Visitor" ] ;
73
67
pub const SLICE_INTO_VEC : [ & str ; 4 ] = [ "alloc" , "slice" , "<impl [T]>" , "into_vec" ] ;
74
- pub const SLICE_INTO : [ & str ; 4 ] = [ "core" , "slice" , "<impl [T]>" , "iter" ] ;
75
68
pub const STD_IO_SEEK_FROM_CURRENT : [ & str ; 4 ] = [ "std" , "io" , "SeekFrom" , "Current" ] ;
76
69
pub const STD_IO_SEEKFROM_START : [ & str ; 4 ] = [ "std" , "io" , "SeekFrom" , "Start" ] ;
77
70
pub const STRING_AS_MUT_STR : [ & str ; 4 ] = [ "alloc" , "string" , "String" , "as_mut_str" ] ;
78
71
pub const STRING_AS_STR : [ & str ; 4 ] = [ "alloc" , "string" , "String" , "as_str" ] ;
79
72
pub const STRING_NEW : [ & str ; 4 ] = [ "alloc" , "string" , "String" , "new" ] ;
80
- pub const STR_CHARS : [ & str ; 4 ] = [ "core" , "str" , "<impl str>" , "chars" ] ;
81
73
pub const STR_ENDS_WITH : [ & str ; 4 ] = [ "core" , "str" , "<impl str>" , "ends_with" ] ;
82
74
pub const STR_LEN : [ & str ; 4 ] = [ "core" , "str" , "<impl str>" , "len" ] ;
83
75
pub const STR_STARTS_WITH : [ & str ; 4 ] = [ "core" , "str" , "<impl str>" , "starts_with" ] ;
@@ -100,7 +92,6 @@ pub const TOKIO_IO_OPEN_OPTIONS: [&str; 4] = ["tokio", "fs", "open_options", "Op
100
92
pub const TOKIO_IO_OPEN_OPTIONS_NEW : [ & str ; 5 ] = [ "tokio" , "fs" , "open_options" , "OpenOptions" , "new" ] ;
101
93
pub const VEC_AS_MUT_SLICE : [ & str ; 4 ] = [ "alloc" , "vec" , "Vec" , "as_mut_slice" ] ;
102
94
pub const VEC_AS_SLICE : [ & str ; 4 ] = [ "alloc" , "vec" , "Vec" , "as_slice" ] ;
103
- pub const VEC_DEQUE_ITER : [ & str ; 5 ] = [ "alloc" , "collections" , "vec_deque" , "VecDeque" , "iter" ] ;
104
95
pub const VEC_FROM_ELEM : [ & str ; 3 ] = [ "alloc" , "vec" , "from_elem" ] ;
105
96
pub const VEC_NEW : [ & str ; 4 ] = [ "alloc" , "vec" , "Vec" , "new" ] ;
106
97
pub const VEC_WITH_CAPACITY : [ & str ; 4 ] = [ "alloc" , "vec" , "Vec" , "with_capacity" ] ;
0 commit comments