@@ -11,13 +11,10 @@ pub const ASREF_TRAIT: [&str; 3] = ["core", "convert", "AsRef"];
11
11
pub ( super ) const BEGIN_PANIC : [ & str ; 3 ] = [ "std" , "panicking" , "begin_panic" ] ;
12
12
pub ( super ) const BEGIN_PANIC_FMT : [ & str ; 3 ] = [ "std" , "panicking" , "begin_panic_fmt" ] ;
13
13
pub const BINARY_HEAP : [ & str ; 4 ] = [ "alloc" , "collections" , "binary_heap" , "BinaryHeap" ] ;
14
- pub const BINARY_HEAP_NEW : [ & str ; 5 ] = [ "alloc" , "collections" , "binary_heap" , "BinaryHeap" , "new" ] ;
15
14
pub const BORROW_TRAIT : [ & str ; 3 ] = [ "core" , "borrow" , "Borrow" ] ;
16
15
pub const BTREEMAP : [ & str ; 5 ] = [ "alloc" , "collections" , "btree" , "map" , "BTreeMap" ] ;
17
- pub const BTREEMAP_NEW : [ & str ; 6 ] = [ "alloc" , "collections" , "btree" , "map" , "BTreeMap" , "new" ] ;
18
16
pub const BTREEMAP_ENTRY : [ & str ; 6 ] = [ "alloc" , "collections" , "btree" , "map" , "entry" , "Entry" ] ;
19
17
pub const BTREESET : [ & str ; 5 ] = [ "alloc" , "collections" , "btree" , "set" , "BTreeSet" ] ;
20
- pub const BTREESET_NEW : [ & str ; 6 ] = [ "alloc" , "collections" , "btree" , "set" , "BTreeSet" , "new" ] ;
21
18
pub const CLONE_TRAIT_METHOD : [ & str ; 4 ] = [ "core" , "clone" , "Clone" , "clone" ] ;
22
19
pub const CMP_MAX : [ & str ; 3 ] = [ "core" , "cmp" , "max" ] ;
23
20
pub const CMP_MIN : [ & str ; 3 ] = [ "core" , "cmp" , "min" ] ;
@@ -49,10 +46,8 @@ pub const FROM_ITERATOR: [&str; 5] = ["core", "iter", "traits", "collect", "From
49
46
pub const FUTURE_FROM_GENERATOR : [ & str ; 3 ] = [ "core" , "future" , "from_generator" ] ;
50
47
pub const HASH : [ & str ; 3 ] = [ "core" , "hash" , "Hash" ] ;
51
48
pub const HASHMAP : [ & str ; 5 ] = [ "std" , "collections" , "hash" , "map" , "HashMap" ] ;
52
- pub const HASHMAP_NEW : [ & str ; 6 ] = [ "std" , "collections" , "hash" , "map" , "HashMap" , "new" ] ;
53
49
pub const HASHMAP_ENTRY : [ & str ; 5 ] = [ "std" , "collections" , "hash" , "map" , "Entry" ] ;
54
50
pub const HASHSET : [ & str ; 5 ] = [ "std" , "collections" , "hash" , "set" , "HashSet" ] ;
55
- pub const HASHSET_NEW : [ & str ; 6 ] = [ "std" , "collections" , "hash" , "set" , "HashSet" , "new" ] ;
56
51
#[ cfg( feature = "internal-lints" ) ]
57
52
pub const IDENT : [ & str ; 3 ] = [ "rustc_span" , "symbol" , "Ident" ] ;
58
53
#[ cfg( feature = "internal-lints" ) ]
@@ -72,7 +67,6 @@ pub const KW_MODULE: [&str; 3] = ["rustc_span", "symbol", "kw"];
72
67
#[ cfg( feature = "internal-lints" ) ]
73
68
pub const LATE_CONTEXT : [ & str ; 2 ] = [ "rustc_lint" , "LateContext" ] ;
74
69
pub const LINKED_LIST : [ & str ; 4 ] = [ "alloc" , "collections" , "linked_list" , "LinkedList" ] ;
75
- pub const LINKED_LIST_NEW : [ & str ; 5 ] = [ "alloc" , "collections" , "linked_list" , "LinkedList" , "new" ] ;
76
70
#[ cfg( feature = "internal-lints" ) ]
77
71
pub const LINT : [ & str ; 2 ] = [ "rustc_lint_defs" , "Lint" ] ;
78
72
pub const MEM_DISCRIMINANT : [ & str ; 3 ] = [ "core" , "mem" , "discriminant" ] ;
@@ -140,7 +134,6 @@ pub const STD_CONVERT_IDENTITY: [&str; 3] = ["std", "convert", "identity"];
140
134
pub const STD_FS_CREATE_DIR : [ & str ; 3 ] = [ "std" , "fs" , "create_dir" ] ;
141
135
pub const STD_MEM_TRANSMUTE : [ & str ; 3 ] = [ "std" , "mem" , "transmute" ] ;
142
136
pub const STD_PTR_NULL : [ & str ; 3 ] = [ "std" , "ptr" , "null" ] ;
143
- pub const STRING_NEW : [ & str ; 4 ] = [ "alloc" , "string" , "String" , "new" ] ;
144
137
pub const STRING_AS_MUT_STR : [ & str ; 4 ] = [ "alloc" , "string" , "String" , "as_mut_str" ] ;
145
138
pub const STRING_AS_STR : [ & str ; 4 ] = [ "alloc" , "string" , "String" , "as_str" ] ;
146
139
pub const STR_ENDS_WITH : [ & str ; 4 ] = [ "core" , "str" , "<impl str>" , "ends_with" ] ;
@@ -168,7 +161,6 @@ pub const VEC: [&str; 3] = ["alloc", "vec", "Vec"];
168
161
pub const VEC_AS_MUT_SLICE : [ & str ; 4 ] = [ "alloc" , "vec" , "Vec" , "as_mut_slice" ] ;
169
162
pub const VEC_AS_SLICE : [ & str ; 4 ] = [ "alloc" , "vec" , "Vec" , "as_slice" ] ;
170
163
pub const VEC_DEQUE : [ & str ; 4 ] = [ "alloc" , "collections" , "vec_deque" , "VecDeque" ] ;
171
- pub const VEC_DEQUE_NEW : [ & str ; 5 ] = [ "alloc" , "collections" , "vec_deque" , "VecDeque" , "new" ] ;
172
164
pub const VEC_FROM_ELEM : [ & str ; 3 ] = [ "alloc" , "vec" , "from_elem" ] ;
173
165
pub const VEC_NEW : [ & str ; 4 ] = [ "alloc" , "vec" , "Vec" , "new" ] ;
174
166
pub const VEC_RESIZE : [ & str ; 4 ] = [ "alloc" , "vec" , "Vec" , "resize" ] ;
0 commit comments