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
6 help: possible candidate is found in another module, you can import it into scope
8 LL | use std::ops::Add;
11 error[E0404]: expected trait, found derive macro `Clone`
12 --> $DIR/no-implicit-prelude-nested.rs:12:14
14 LL | impl Clone for Test {}
16 help: possible better candidates are found in other modules, you can import them into scope
18 LL | use std::clone::Clone;
20 LL | use std::prelude::v1::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
28 help: possible candidates are found in other modules, you can import them into scope
30 LL | use std::iter::Iterator;
32 LL | use std::prelude::v1::Iterator;
35 error[E0405]: cannot find trait `ToString` in this scope
36 --> $DIR/no-implicit-prelude-nested.rs:14:14
38 LL | impl ToString for Test {}
39 | ^^^^^^^^ not found in this scope
40 help: possible candidates are found in other modules, you can import them into scope
42 LL | use std::prelude::v1::ToString;
44 LL | use std::string::ToString;
47 error[E0405]: cannot find trait `Writer` in this scope
48 --> $DIR/no-implicit-prelude-nested.rs:15:14
50 LL | impl Writer for Test {}
51 | ^^^^^^ not found in this scope
53 error[E0425]: cannot find function `drop` in this scope
54 --> $DIR/no-implicit-prelude-nested.rs:18:13
57 | ^^^^ not found in this scope
58 help: possible candidates are found in other modules, you can import them into scope
60 LL | use std::mem::drop;
62 LL | use std::prelude::v1::drop;
65 error[E0405]: cannot find trait `Add` in this scope
66 --> $DIR/no-implicit-prelude-nested.rs:23:10
68 LL | impl Add for Test {}
69 | ^^^ not found in this scope
70 help: possible candidate is found in another module, you can import it into scope
72 LL | use std::ops::Add;
75 error[E0404]: expected trait, found derive macro `Clone`
76 --> $DIR/no-implicit-prelude-nested.rs:24:10
78 LL | impl Clone for Test {}
80 help: possible better candidates are found in other modules, you can import them into scope
82 LL | use std::clone::Clone;
84 LL | use std::prelude::v1::Clone;
87 error[E0405]: cannot find trait `Iterator` in this scope
88 --> $DIR/no-implicit-prelude-nested.rs:25:10
90 LL | impl Iterator for Test {}
91 | ^^^^^^^^ not found in this scope
92 help: possible candidates are found in other modules, you can import them into scope
94 LL | use std::iter::Iterator;
96 LL | use std::prelude::v1::Iterator;
99 error[E0405]: cannot find trait `ToString` in this scope
100 --> $DIR/no-implicit-prelude-nested.rs:26:10
102 LL | impl ToString for Test {}
103 | ^^^^^^^^ not found in this scope
104 help: possible candidates are found in other modules, you can import them into scope
106 LL | use std::prelude::v1::ToString;
108 LL | use std::string::ToString;
111 error[E0405]: cannot find trait `Writer` in this scope
112 --> $DIR/no-implicit-prelude-nested.rs:27:10
114 LL | impl Writer for Test {}
115 | ^^^^^^ not found in this scope
117 error[E0425]: cannot find function `drop` in this scope
118 --> $DIR/no-implicit-prelude-nested.rs:30:9
121 | ^^^^ not found in this scope
122 help: possible candidates are found in other modules, you can import them into scope
124 LL | use std::mem::drop;
126 LL | use std::prelude::v1::drop;
129 error[E0405]: cannot find trait `Add` in this scope
130 --> $DIR/no-implicit-prelude-nested.rs:38:14
132 LL | impl Add for Test {}
133 | ^^^ not found in this scope
134 help: possible candidate is found in another module, you can import it into scope
136 LL | use std::ops::Add;
139 error[E0404]: expected trait, found derive macro `Clone`
140 --> $DIR/no-implicit-prelude-nested.rs:39:14
142 LL | impl Clone for Test {}
144 help: possible better candidates are found in other modules, you can import them into scope
146 LL | use std::clone::Clone;
148 LL | use std::prelude::v1::Clone;
151 error[E0405]: cannot find trait `Iterator` in this scope
152 --> $DIR/no-implicit-prelude-nested.rs:40:14
154 LL | impl Iterator for Test {}
155 | ^^^^^^^^ not found in this scope
156 help: possible candidates are found in other modules, you can import them into scope
158 LL | use std::iter::Iterator;
160 LL | use std::prelude::v1::Iterator;
163 error[E0405]: cannot find trait `ToString` in this scope
164 --> $DIR/no-implicit-prelude-nested.rs:41:14
166 LL | impl ToString for Test {}
167 | ^^^^^^^^ not found in this scope
168 help: possible candidates are found in other modules, you can import them into scope
170 LL | use std::prelude::v1::ToString;
172 LL | use std::string::ToString;
175 error[E0405]: cannot find trait `Writer` in this scope
176 --> $DIR/no-implicit-prelude-nested.rs:42:14
178 LL | impl Writer for Test {}
179 | ^^^^^^ not found in this scope
181 error[E0425]: cannot find function `drop` in this scope
182 --> $DIR/no-implicit-prelude-nested.rs:45:13
185 | ^^^^ not found in this scope
186 help: possible candidates are found in other modules, you can import them into scope
188 LL | use std::mem::drop;
190 LL | use std::prelude::v1::drop;
193 error: aborting due to 18 previous errors
195 Some errors have detailed explanations: E0404, E0405, E0425.
196 For more information about an error, try `rustc --explain E0404`.