@@ -15,35 +15,29 @@ error[E0404]: expected trait, found derive macro `Clone`
1515LL | impl Clone for Test {}
1616 | ^^^^^ not a trait
1717 |
18- help: consider importing one of these items instead
18+ help: consider importing this trait instead
1919 |
2020LL | use std::clone::Clone;
2121 |
22- LL | use std::prelude::v1::Clone;
23- |
2422
2523error[E0405]: cannot find trait `Iterator` in this scope
2624 --> $DIR/no-implicit-prelude-nested.rs:13:14
2725 |
2826LL | impl Iterator for Test {}
2927 | ^^^^^^^^ not found in this scope
3028 |
31- help: consider importing one of these items
29+ help: consider importing this trait
3230 |
3331LL | use std::iter::Iterator;
3432 |
35- LL | use std::prelude::v1::Iterator;
36- |
3733
3834error[E0405]: cannot find trait `ToString` in this scope
3935 --> $DIR/no-implicit-prelude-nested.rs:14:14
4036 |
4137LL | impl ToString for Test {}
4238 | ^^^^^^^^ not found in this scope
4339 |
44- help: consider importing one of these items
45- |
46- LL | use std::prelude::v1::ToString;
40+ help: consider importing this trait
4741 |
4842LL | use std::string::ToString;
4943 |
@@ -60,12 +54,10 @@ error[E0425]: cannot find function `drop` in this scope
6054LL | drop(2)
6155 | ^^^^ not found in this scope
6256 |
63- help: consider importing one of these items
57+ help: consider importing this function
6458 |
6559LL | use std::mem::drop;
6660 |
67- LL | use std::prelude::v1::drop;
68- |
6961
7062error[E0405]: cannot find trait `Add` in this scope
7163 --> $DIR/no-implicit-prelude-nested.rs:23:10
@@ -84,35 +76,29 @@ error[E0404]: expected trait, found derive macro `Clone`
8476LL | impl Clone for Test {}
8577 | ^^^^^ not a trait
8678 |
87- help: consider importing one of these items instead
79+ help: consider importing this trait instead
8880 |
8981LL | use std::clone::Clone;
9082 |
91- LL | use std::prelude::v1::Clone;
92- |
9383
9484error[E0405]: cannot find trait `Iterator` in this scope
9585 --> $DIR/no-implicit-prelude-nested.rs:25:10
9686 |
9787LL | impl Iterator for Test {}
9888 | ^^^^^^^^ not found in this scope
9989 |
100- help: consider importing one of these items
90+ help: consider importing this trait
10191 |
10292LL | use std::iter::Iterator;
10393 |
104- LL | use std::prelude::v1::Iterator;
105- |
10694
10795error[E0405]: cannot find trait `ToString` in this scope
10896 --> $DIR/no-implicit-prelude-nested.rs:26:10
10997 |
11098LL | impl ToString for Test {}
11199 | ^^^^^^^^ not found in this scope
112100 |
113- help: consider importing one of these items
114- |
115- LL | use std::prelude::v1::ToString;
101+ help: consider importing this trait
116102 |
117103LL | use std::string::ToString;
118104 |
@@ -129,12 +115,10 @@ error[E0425]: cannot find function `drop` in this scope
129115LL | drop(2)
130116 | ^^^^ not found in this scope
131117 |
132- help: consider importing one of these items
118+ help: consider importing this function
133119 |
134120LL | use std::mem::drop;
135121 |
136- LL | use std::prelude::v1::drop;
137- |
138122
139123error[E0405]: cannot find trait `Add` in this scope
140124 --> $DIR/no-implicit-prelude-nested.rs:38:14
@@ -153,35 +137,29 @@ error[E0404]: expected trait, found derive macro `Clone`
153137LL | impl Clone for Test {}
154138 | ^^^^^ not a trait
155139 |
156- help: consider importing one of these items instead
140+ help: consider importing this trait instead
157141 |
158142LL | use std::clone::Clone;
159143 |
160- LL | use std::prelude::v1::Clone;
161- |
162144
163145error[E0405]: cannot find trait `Iterator` in this scope
164146 --> $DIR/no-implicit-prelude-nested.rs:40:14
165147 |
166148LL | impl Iterator for Test {}
167149 | ^^^^^^^^ not found in this scope
168150 |
169- help: consider importing one of these items
151+ help: consider importing this trait
170152 |
171153LL | use std::iter::Iterator;
172154 |
173- LL | use std::prelude::v1::Iterator;
174- |
175155
176156error[E0405]: cannot find trait `ToString` in this scope
177157 --> $DIR/no-implicit-prelude-nested.rs:41:14
178158 |
179159LL | impl ToString for Test {}
180160 | ^^^^^^^^ not found in this scope
181161 |
182- help: consider importing one of these items
183- |
184- LL | use std::prelude::v1::ToString;
162+ help: consider importing this trait
185163 |
186164LL | use std::string::ToString;
187165 |
@@ -198,12 +176,10 @@ error[E0425]: cannot find function `drop` in this scope
198176LL | drop(2)
199177 | ^^^^ not found in this scope
200178 |
201- help: consider importing one of these items
179+ help: consider importing this function
202180 |
203181LL | use std::mem::drop;
204182 |
205- LL | use std::prelude::v1::drop;
206- |
207183
208184error: aborting due to 18 previous errors
209185
0 commit comments