@@ -2,7 +2,7 @@ warning: the item `Some` is imported redundantly
2
2
--> $DIR/use-redundant-prelude-rust-2015.rs:5:5
3
3
|
4
4
LL | use std::option::Option::Some;
5
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
5
+ | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^- help: remove this import
6
6
--> $SRC_DIR/std/src/prelude/mod.rs:LL:COL
7
7
|
8
8
= note: the item `Some` is already defined here
@@ -17,7 +17,7 @@ warning: the item `None` is imported redundantly
17
17
--> $DIR/use-redundant-prelude-rust-2015.rs:6:5
18
18
|
19
19
LL | use std::option::Option::None;
20
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
20
+ | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^- help: remove this import
21
21
--> $SRC_DIR/std/src/prelude/mod.rs:LL:COL
22
22
|
23
23
= note: the item `None` is already defined here
@@ -26,7 +26,7 @@ warning: the item `Ok` is imported redundantly
26
26
--> $DIR/use-redundant-prelude-rust-2015.rs:8:5
27
27
|
28
28
LL | use std::result::Result::Ok;
29
- | ^^^^^^^^^^^^^^^^^^^^^^^
29
+ | ---- ^^^^^^^^^^^^^^^^^^^^^^^- help: remove this import
30
30
--> $SRC_DIR/std/src/prelude/mod.rs:LL:COL
31
31
|
32
32
= note: the item `Ok` is already defined here
@@ -35,7 +35,7 @@ warning: the item `Err` is imported redundantly
35
35
--> $DIR/use-redundant-prelude-rust-2015.rs:9:5
36
36
|
37
37
LL | use std::result::Result::Err;
38
- | ^^^^^^^^^^^^^^^^^^^^^^^^
38
+ | ---- ^^^^^^^^^^^^^^^^^^^^^^^^- help: remove this import
39
39
--> $SRC_DIR/std/src/prelude/mod.rs:LL:COL
40
40
|
41
41
= note: the item `Err` is already defined here
0 commit comments