about summary refs log tree commit diff
path: root/tests/ui/imports/suggest-remove-issue-121315.stderr
blob: 5d0bf9bea6a947063164ec16c76665fb3646a970 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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

error: unused import: `AsMut`
  --> $DIR/suggest-remove-issue-121315.rs:24:24
   |
LL |     use std::convert::{AsMut, Into};
   |                        ^^^^^
   |
note: the lint level is defined here
  --> $DIR/suggest-remove-issue-121315.rs:2:9
   |
LL | #![deny(unused_imports, redundant_imports)]
   |         ^^^^^^^^^^^^^^

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

error: unused import: `From`
  --> $DIR/suggest-remove-issue-121315.rs:33:24
   |
LL |     use std::convert::{From, Infallible};
   |                        ^^^^

error: aborting due to 6 previous errors