LL | impl Clone for Test {}
| ^^^^^ not a trait
|
-help: consider importing one of these items instead
+help: consider importing this trait instead
|
LL | use std::clone::Clone;
|
-LL | use std::prelude::v1::Clone;
- |
error[E0405]: cannot find trait `Iterator` in this scope
--> $DIR/no-implicit-prelude-nested.rs:13:14
LL | impl Iterator for Test {}
| ^^^^^^^^ not found in this scope
|
-help: consider importing one of these items
+help: consider importing this trait
|
LL | use std::iter::Iterator;
|
-LL | use std::prelude::v1::Iterator;
- |
error[E0405]: cannot find trait `ToString` in this scope
--> $DIR/no-implicit-prelude-nested.rs:14:14
LL | impl ToString for Test {}
| ^^^^^^^^ not found in this scope
|
-help: consider importing one of these items
- |
-LL | use std::prelude::v1::ToString;
+help: consider importing this trait
|
LL | use std::string::ToString;
|
LL | drop(2)
| ^^^^ not found in this scope
|
-help: consider importing one of these items
+help: consider importing this function
|
LL | use std::mem::drop;
|
-LL | use std::prelude::v1::drop;
- |
error[E0405]: cannot find trait `Add` in this scope
--> $DIR/no-implicit-prelude-nested.rs:23:10
LL | impl Clone for Test {}
| ^^^^^ not a trait
|
-help: consider importing one of these items instead
+help: consider importing this trait instead
|
LL | use std::clone::Clone;
|
-LL | use std::prelude::v1::Clone;
- |
error[E0405]: cannot find trait `Iterator` in this scope
--> $DIR/no-implicit-prelude-nested.rs:25:10
LL | impl Iterator for Test {}
| ^^^^^^^^ not found in this scope
|
-help: consider importing one of these items
+help: consider importing this trait
|
LL | use std::iter::Iterator;
|
-LL | use std::prelude::v1::Iterator;
- |
error[E0405]: cannot find trait `ToString` in this scope
--> $DIR/no-implicit-prelude-nested.rs:26:10
LL | impl ToString for Test {}
| ^^^^^^^^ not found in this scope
|
-help: consider importing one of these items
- |
-LL | use std::prelude::v1::ToString;
+help: consider importing this trait
|
LL | use std::string::ToString;
|
LL | drop(2)
| ^^^^ not found in this scope
|
-help: consider importing one of these items
+help: consider importing this function
|
LL | use std::mem::drop;
|
-LL | use std::prelude::v1::drop;
- |
error[E0405]: cannot find trait `Add` in this scope
--> $DIR/no-implicit-prelude-nested.rs:38:14
LL | impl Clone for Test {}
| ^^^^^ not a trait
|
-help: consider importing one of these items instead
+help: consider importing this trait instead
|
LL | use std::clone::Clone;
|
-LL | use std::prelude::v1::Clone;
- |
error[E0405]: cannot find trait `Iterator` in this scope
--> $DIR/no-implicit-prelude-nested.rs:40:14
LL | impl Iterator for Test {}
| ^^^^^^^^ not found in this scope
|
-help: consider importing one of these items
+help: consider importing this trait
|
LL | use std::iter::Iterator;
|
-LL | use std::prelude::v1::Iterator;
- |
error[E0405]: cannot find trait `ToString` in this scope
--> $DIR/no-implicit-prelude-nested.rs:41:14
LL | impl ToString for Test {}
| ^^^^^^^^ not found in this scope
|
-help: consider importing one of these items
- |
-LL | use std::prelude::v1::ToString;
+help: consider importing this trait
|
LL | use std::string::ToString;
|
LL | drop(2)
| ^^^^ not found in this scope
|
-help: consider importing one of these items
+help: consider importing this function
|
LL | use std::mem::drop;
|
-LL | use std::prelude::v1::drop;
- |
error: aborting due to 18 previous errors
LL | impl Clone for Test {}
| ^^^^^ not a trait
|
-help: consider importing one of these items instead
+help: consider importing this trait instead
|
LL | use std::clone::Clone;
|
-LL | use std::prelude::v1::Clone;
- |
error[E0405]: cannot find trait `Iterator` in this scope
--> $DIR/no-implicit-prelude.rs:12:6
LL | impl Iterator for Test {}
| ^^^^^^^^ not found in this scope
|
-help: consider importing one of these items
+help: consider importing this trait
|
LL | use std::iter::Iterator;
|
-LL | use std::prelude::v1::Iterator;
- |
error[E0405]: cannot find trait `ToString` in this scope
--> $DIR/no-implicit-prelude.rs:13:6
LL | impl ToString for Test {}
| ^^^^^^^^ not found in this scope
|
-help: consider importing one of these items
- |
-LL | use std::prelude::v1::ToString;
+help: consider importing this trait
|
LL | use std::string::ToString;
|
LL | drop(2)
| ^^^^ not found in this scope
|
-help: consider importing one of these items
+help: consider importing this function
|
LL | use std::mem::drop;
|
-LL | use std::prelude::v1::drop;
- |
error: aborting due to 6 previous errors