2024-04-11 13:10:34 -05:00
|
|
|
error: the item `TryFrom` is imported redundantly
|
|
|
|
--> $DIR/suggest-remove-issue-121315.rs:7:9
|
|
|
|
|
|
|
|
|
LL | use std::convert::TryFrom;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
--> $SRC_DIR/std/src/prelude/mod.rs:LL:COL
|
|
|
|
|
|
|
|
|
= note: the item `TryFrom` is already defined here
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/suggest-remove-issue-121315.rs:2:25
|
|
|
|
|
|
|
|
|
LL | #![deny(unused_imports, redundant_imports)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: the item `TryFrom` is imported redundantly
|
|
|
|
--> $DIR/suggest-remove-issue-121315.rs:14:24
|
|
|
|
|
|
|
|
|
LL | use std::convert::{TryFrom, TryInto};
|
|
|
|
| ^^^^^^^
|
|
|
|
--> $SRC_DIR/std/src/prelude/mod.rs:LL:COL
|
|
|
|
|
|
|
|
|
= note: the item `TryFrom` is already defined here
|
|
|
|
|
|
|
|
error: the item `TryInto` is imported redundantly
|
|
|
|
--> $DIR/suggest-remove-issue-121315.rs:14:33
|
|
|
|
|
|
|
|
|
LL | use std::convert::{TryFrom, TryInto};
|
|
|
|
| ^^^^^^^
|
|
|
|
--> $SRC_DIR/std/src/prelude/mod.rs:LL:COL
|
|
|
|
|
|
|
|
|
= note: the item `TryInto` is already defined here
|
|
|
|
|
2024-03-03 20:24:23 -06:00
|
|
|
error: unused import: `AsMut`
|
2024-04-11 13:10:34 -05:00
|
|
|
--> $DIR/suggest-remove-issue-121315.rs:24:24
|
2024-03-03 20:24:23 -06:00
|
|
|
|
|
|
|
|
LL | use std::convert::{AsMut, Into};
|
|
|
|
| ^^^^^
|
|
|
|
|
|
2024-04-11 12:32:17 -05:00
|
|
|
note: the lint level is defined here
|
2024-04-11 13:10:34 -05:00
|
|
|
--> $DIR/suggest-remove-issue-121315.rs:2:9
|
2024-03-03 20:24:23 -06:00
|
|
|
|
|
2024-04-11 13:10:34 -05:00
|
|
|
LL | #![deny(unused_imports, redundant_imports)]
|
2024-04-11 12:32:17 -05:00
|
|
|
| ^^^^^^^^^^^^^^
|
2024-03-03 20:24:23 -06:00
|
|
|
|
2024-04-11 13:10:34 -05:00
|
|
|
error: the item `Into` is imported redundantly
|
|
|
|
--> $DIR/suggest-remove-issue-121315.rs:24:31
|
|
|
|
|
|
|
|
|
LL | use std::convert::{AsMut, Into};
|
|
|
|
| ^^^^
|
|
|
|
--> $SRC_DIR/std/src/prelude/mod.rs:LL:COL
|
|
|
|
|
|
|
|
|
= note: the item `Into` is already defined here
|
|
|
|
|
2024-03-03 20:24:23 -06:00
|
|
|
error: unused import: `From`
|
2024-04-11 13:10:34 -05:00
|
|
|
--> $DIR/suggest-remove-issue-121315.rs:33:24
|
2024-03-03 20:24:23 -06:00
|
|
|
|
|
|
|
|
LL | use std::convert::{From, Infallible};
|
|
|
|
| ^^^^
|
|
|
|
|
2024-04-11 13:10:34 -05:00
|
|
|
error: aborting due to 6 previous errors
|
2024-03-03 20:24:23 -06:00
|
|
|
|