1 error[E0405]: cannot find trait `Add` in this scope
2 --> $DIR/no-implicit-prelude-nested.rs:11:14
4 LL | impl Add for Test {}
5 | ^^^ not found in this scope
7 help: consider importing this trait
9 LL | use std::ops::Add;
12 error[E0404]: expected trait, found derive macro `Clone`
13 --> $DIR/no-implicit-prelude-nested.rs:12:14
15 LL | impl Clone for Test {}
18 help: consider importing this trait instead
20 LL | use std::clone::Clone;
23 error[E0405]: cannot find trait `Iterator` in this scope
24 --> $DIR/no-implicit-prelude-nested.rs:13:14
26 LL | impl Iterator for Test {}
27 | ^^^^^^^^ not found in this scope
29 help: consider importing this trait
31 LL | use std::iter::Iterator;
34 error[E0405]: cannot find trait `ToString` in this scope
35 --> $DIR/no-implicit-prelude-nested.rs:14:14
37 LL | impl ToString for Test {}
38 | ^^^^^^^^ not found in this scope
40 help: consider importing this trait
42 LL | use std::string::ToString;
45 error[E0405]: cannot find trait `Writer` in this scope
46 --> $DIR/no-implicit-prelude-nested.rs:15:14
48 LL | impl Writer for Test {}
49 | ^^^^^^ not found in this scope
51 error[E0425]: cannot find function `drop` in this scope
52 --> $DIR/no-implicit-prelude-nested.rs:18:13
55 | ^^^^ not found in this scope
57 help: consider importing this function
59 LL | use std::mem::drop;
62 error[E0405]: cannot find trait `Add` in this scope
63 --> $DIR/no-implicit-prelude-nested.rs:23:10
65 LL | impl Add for Test {}
66 | ^^^ not found in this scope
68 help: consider importing this trait
70 LL | use std::ops::Add;
73 error[E0404]: expected trait, found derive macro `Clone`
74 --> $DIR/no-implicit-prelude-nested.rs:24:10
76 LL | impl Clone for Test {}
79 help: consider importing this trait instead
81 LL | use std::clone::Clone;
84 error[E0405]: cannot find trait `Iterator` in this scope
85 --> $DIR/no-implicit-prelude-nested.rs:25:10
87 LL | impl Iterator for Test {}
88 | ^^^^^^^^ not found in this scope
90 help: consider importing this trait
92 LL | use std::iter::Iterator;
95 error[E0405]: cannot find trait `ToString` in this scope
96 --> $DIR/no-implicit-prelude-nested.rs:26:10
98 LL | impl ToString for Test {}
99 | ^^^^^^^^ not found in this scope
101 help: consider importing this trait
103 LL | use std::string::ToString;
106 error[E0405]: cannot find trait `Writer` in this scope
107 --> $DIR/no-implicit-prelude-nested.rs:27:10
109 LL | impl Writer for Test {}
110 | ^^^^^^ not found in this scope
112 error[E0425]: cannot find function `drop` in this scope
113 --> $DIR/no-implicit-prelude-nested.rs:30:9
116 | ^^^^ not found in this scope
118 help: consider importing this function
120 LL | use std::mem::drop;
123 error[E0405]: cannot find trait `Add` in this scope
124 --> $DIR/no-implicit-prelude-nested.rs:38:14
126 LL | impl Add for Test {}
127 | ^^^ not found in this scope
129 help: consider importing this trait
131 LL | use std::ops::Add;
134 error[E0404]: expected trait, found derive macro `Clone`
135 --> $DIR/no-implicit-prelude-nested.rs:39:14
137 LL | impl Clone for Test {}
140 help: consider importing this trait instead
142 LL | use std::clone::Clone;
145 error[E0405]: cannot find trait `Iterator` in this scope
146 --> $DIR/no-implicit-prelude-nested.rs:40:14
148 LL | impl Iterator for Test {}
149 | ^^^^^^^^ not found in this scope
151 help: consider importing this trait
153 LL | use std::iter::Iterator;
156 error[E0405]: cannot find trait `ToString` in this scope
157 --> $DIR/no-implicit-prelude-nested.rs:41:14
159 LL | impl ToString for Test {}
160 | ^^^^^^^^ not found in this scope
162 help: consider importing this trait
164 LL | use std::string::ToString;
167 error[E0405]: cannot find trait `Writer` in this scope
168 --> $DIR/no-implicit-prelude-nested.rs:42:14
170 LL | impl Writer for Test {}
171 | ^^^^^^ not found in this scope
173 error[E0425]: cannot find function `drop` in this scope
174 --> $DIR/no-implicit-prelude-nested.rs:45:13
177 | ^^^^ not found in this scope
179 help: consider importing this function
181 LL | use std::mem::drop;
184 error: aborting due to 18 previous errors
186 Some errors have detailed explanations: E0404, E0405, E0425.
187 For more information about an error, try `rustc --explain E0404`.