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
6 help: possible candidate is found in another module, you can import it into scope
8 LL | use std::ops::Add;
11 error[E0405]: cannot find trait `Clone` in this scope
12 --> $DIR/no-implicit-prelude.rs:11:6
14 LL | impl Clone for Test {}
15 | ^^^^^ not found in this scope
16 help: possible 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.rs:12:6
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.rs:13:6
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.rs:14:6
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.rs:17:5
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: aborting due to 6 previous errors
67 Some errors have detailed explanations: E0405, E0425.
68 For more information about an error, try `rustc --explain E0405`.