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: possible candidate is found in another module, you can import it into scope
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: possible better candidates are found in other modules, you can import them into scope
20 LL | use std::clone::Clone;
22 LL | use std::prelude::v1::Clone;
25 error[E0405]: cannot find trait `Iterator` in this scope
26 --> $DIR/no-implicit-prelude-nested.rs:13:14
28 LL | impl Iterator for Test {}
29 | ^^^^^^^^ not found in this scope
31 help: possible candidates are found in other modules, you can import them into scope
33 LL | use std::iter::Iterator;
35 LL | use std::prelude::v1::Iterator;
38 error[E0405]: cannot find trait `ToString` in this scope
39 --> $DIR/no-implicit-prelude-nested.rs:14:14
41 LL | impl ToString for Test {}
42 | ^^^^^^^^ not found in this scope
44 help: possible candidates are found in other modules, you can import them into scope
46 LL | use std::prelude::v1::ToString;
48 LL | use std::string::ToString;
51 error[E0405]: cannot find trait `Writer` in this scope
52 --> $DIR/no-implicit-prelude-nested.rs:15:14
54 LL | impl Writer for Test {}
55 | ^^^^^^ not found in this scope
57 error[E0425]: cannot find function `drop` in this scope
58 --> $DIR/no-implicit-prelude-nested.rs:18:13
61 | ^^^^ not found in this scope
63 help: possible candidates are found in other modules, you can import them into scope
65 LL | use std::mem::drop;
67 LL | use std::prelude::v1::drop;
70 error[E0405]: cannot find trait `Add` in this scope
71 --> $DIR/no-implicit-prelude-nested.rs:23:10
73 LL | impl Add for Test {}
74 | ^^^ not found in this scope
76 help: possible candidate is found in another module, you can import it into scope
78 LL | use std::ops::Add;
81 error[E0404]: expected trait, found derive macro `Clone`
82 --> $DIR/no-implicit-prelude-nested.rs:24:10
84 LL | impl Clone for Test {}
87 help: possible better candidates are found in other modules, you can import them into scope
89 LL | use std::clone::Clone;
91 LL | use std::prelude::v1::Clone;
94 error[E0405]: cannot find trait `Iterator` in this scope
95 --> $DIR/no-implicit-prelude-nested.rs:25:10
97 LL | impl Iterator for Test {}
98 | ^^^^^^^^ not found in this scope
100 help: possible candidates are found in other modules, you can import them into scope
102 LL | use std::iter::Iterator;
104 LL | use std::prelude::v1::Iterator;
107 error[E0405]: cannot find trait `ToString` in this scope
108 --> $DIR/no-implicit-prelude-nested.rs:26:10
110 LL | impl ToString for Test {}
111 | ^^^^^^^^ not found in this scope
113 help: possible candidates are found in other modules, you can import them into scope
115 LL | use std::prelude::v1::ToString;
117 LL | use std::string::ToString;
120 error[E0405]: cannot find trait `Writer` in this scope
121 --> $DIR/no-implicit-prelude-nested.rs:27:10
123 LL | impl Writer for Test {}
124 | ^^^^^^ not found in this scope
126 error[E0425]: cannot find function `drop` in this scope
127 --> $DIR/no-implicit-prelude-nested.rs:30:9
130 | ^^^^ not found in this scope
132 help: possible candidates are found in other modules, you can import them into scope
134 LL | use std::mem::drop;
136 LL | use std::prelude::v1::drop;
139 error[E0405]: cannot find trait `Add` in this scope
140 --> $DIR/no-implicit-prelude-nested.rs:38:14
142 LL | impl Add for Test {}
143 | ^^^ not found in this scope
145 help: possible candidate is found in another module, you can import it into scope
147 LL | use std::ops::Add;
150 error[E0404]: expected trait, found derive macro `Clone`
151 --> $DIR/no-implicit-prelude-nested.rs:39:14
153 LL | impl Clone for Test {}
156 help: possible better candidates are found in other modules, you can import them into scope
158 LL | use std::clone::Clone;
160 LL | use std::prelude::v1::Clone;
163 error[E0405]: cannot find trait `Iterator` in this scope
164 --> $DIR/no-implicit-prelude-nested.rs:40:14
166 LL | impl Iterator for Test {}
167 | ^^^^^^^^ not found in this scope
169 help: possible candidates are found in other modules, you can import them into scope
171 LL | use std::iter::Iterator;
173 LL | use std::prelude::v1::Iterator;
176 error[E0405]: cannot find trait `ToString` in this scope
177 --> $DIR/no-implicit-prelude-nested.rs:41:14
179 LL | impl ToString for Test {}
180 | ^^^^^^^^ not found in this scope
182 help: possible candidates are found in other modules, you can import them into scope
184 LL | use std::prelude::v1::ToString;
186 LL | use std::string::ToString;
189 error[E0405]: cannot find trait `Writer` in this scope
190 --> $DIR/no-implicit-prelude-nested.rs:42:14
192 LL | impl Writer for Test {}
193 | ^^^^^^ not found in this scope
195 error[E0425]: cannot find function `drop` in this scope
196 --> $DIR/no-implicit-prelude-nested.rs:45:13
199 | ^^^^ not found in this scope
201 help: possible candidates are found in other modules, you can import them into scope
203 LL | use std::mem::drop;
205 LL | use std::prelude::v1::drop;
208 error: aborting due to 18 previous errors
210 Some errors have detailed explanations: E0404, E0405, E0425.
211 For more information about an error, try `rustc --explain E0404`.