1 error[E0405]: cannot find trait `Add` in this scope
2 --> $DIR/no-implicit-prelude.rs:10:6
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.rs:11:6
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.rs:12:6
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.rs:13:6
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.rs:14:6
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.rs:17:5
55 | ^^^^ not found in this scope
57 help: consider importing this function
59 LL | use std::mem::drop;
62 error: aborting due to 6 previous errors
64 Some errors have detailed explanations: E0404, E0405, E0425.
65 For more information about an error, try `rustc --explain E0404`.