|
| 1 | +error: the item `TryFrom` is imported redundantly |
| 2 | + --> $DIR/suggest-remove-issue-121315.rs:7:9 |
| 3 | + | |
| 4 | +LL | use std::convert::TryFrom; |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^^ |
| 6 | + --> $SRC_DIR/std/src/prelude/mod.rs:LL:COL |
| 7 | + | |
| 8 | + = note: the item `TryFrom` is already defined here |
| 9 | + | |
| 10 | +note: the lint level is defined here |
| 11 | + --> $DIR/suggest-remove-issue-121315.rs:2:25 |
| 12 | + | |
| 13 | +LL | #![deny(unused_imports, redundant_imports)] |
| 14 | + | ^^^^^^^^^^^^^^^^^ |
| 15 | + |
| 16 | +error: the item `TryFrom` is imported redundantly |
| 17 | + --> $DIR/suggest-remove-issue-121315.rs:14:24 |
| 18 | + | |
| 19 | +LL | use std::convert::{TryFrom, TryInto}; |
| 20 | + | ^^^^^^^ |
| 21 | + --> $SRC_DIR/std/src/prelude/mod.rs:LL:COL |
| 22 | + | |
| 23 | + = note: the item `TryFrom` is already defined here |
| 24 | + |
| 25 | +error: the item `TryInto` is imported redundantly |
| 26 | + --> $DIR/suggest-remove-issue-121315.rs:14:33 |
| 27 | + | |
| 28 | +LL | use std::convert::{TryFrom, TryInto}; |
| 29 | + | ^^^^^^^ |
| 30 | + --> $SRC_DIR/std/src/prelude/mod.rs:LL:COL |
| 31 | + | |
| 32 | + = note: the item `TryInto` is already defined here |
| 33 | + |
1 | 34 | error: unused import: `AsMut`
|
2 |
| - --> $DIR/suggest-remove-issue-121315.rs:25:24 |
| 35 | + --> $DIR/suggest-remove-issue-121315.rs:24:24 |
3 | 36 | |
|
4 | 37 | LL | use std::convert::{AsMut, Into};
|
5 | 38 | | ^^^^^
|
6 | 39 | |
|
7 | 40 | note: the lint level is defined here
|
8 |
| - --> $DIR/suggest-remove-issue-121315.rs:3:9 |
| 41 | + --> $DIR/suggest-remove-issue-121315.rs:2:9 |
9 | 42 | |
|
10 |
| -LL | #![deny(unused_imports)] |
| 43 | +LL | #![deny(unused_imports, redundant_imports)] |
11 | 44 | | ^^^^^^^^^^^^^^
|
12 | 45 |
|
| 46 | +error: the item `Into` is imported redundantly |
| 47 | + --> $DIR/suggest-remove-issue-121315.rs:24:31 |
| 48 | + | |
| 49 | +LL | use std::convert::{AsMut, Into}; |
| 50 | + | ^^^^ |
| 51 | + --> $SRC_DIR/std/src/prelude/mod.rs:LL:COL |
| 52 | + | |
| 53 | + = note: the item `Into` is already defined here |
| 54 | + |
13 | 55 | error: unused import: `From`
|
14 |
| - --> $DIR/suggest-remove-issue-121315.rs:34:24 |
| 56 | + --> $DIR/suggest-remove-issue-121315.rs:33:24 |
15 | 57 | |
|
16 | 58 | LL | use std::convert::{From, Infallible};
|
17 | 59 | | ^^^^
|
18 | 60 |
|
19 |
| -error: aborting due to 2 previous errors |
| 61 | +error: aborting due to 6 previous errors |
20 | 62 |
|
0 commit comments