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