1 error[E0405]: cannot find trait `Add` in this scope
2 --> $DIR/no-implicit-prelude.rs:20:6
4 LL | impl Add for Test {} //~ ERROR cannot find trait `Add` in this scope
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:21:6
14 LL | impl Clone for Test {} //~ ERROR cannot find trait `Clone` in this scope
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:22:6
26 LL | impl Iterator for Test {} //~ ERROR cannot find trait `Iterator` in this scope
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:23:6
38 LL | impl ToString for Test {} //~ ERROR cannot find trait `ToString` in this scope
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:24:6
50 LL | impl Writer for Test {} //~ ERROR cannot find trait `Writer` in this scope
51 | ^^^^^^ not found in this scope
53 error[E0425]: cannot find function `drop` in this scope
54 --> $DIR/no-implicit-prelude.rs:27:5
56 LL | drop(2) //~ ERROR cannot find function `drop` in this scope
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 occurred: E0405, E0425.
68 For more information about an error, try `rustc --explain E0405`.