@@ -22,25 +22,16 @@ LL | use bar;
22
22
= note: for more information, see issue TBD
23
23
24
24
error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
25
- --> $DIR/edition-lint-paths.rs:33:10
25
+ --> $DIR/edition-lint-paths.rs:33:9
26
26
|
27
27
LL | use {Bar as SomethingElse, main};
28
- | ^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::Bar as SomethingElse`
28
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::{ Bar as SomethingElse, main} `
29
29
|
30
30
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
31
31
= note: for more information, see issue TBD
32
32
33
33
error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
34
- --> $DIR/edition-lint-paths.rs:33:32
35
- |
36
- LL | use {Bar as SomethingElse, main};
37
- | ^^^^ help: use `crate`: `crate::main`
38
- |
39
- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
40
- = note: for more information, see issue TBD
41
-
42
- error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
43
- --> $DIR/edition-lint-paths.rs:47:5
34
+ --> $DIR/edition-lint-paths.rs:45:5
44
35
|
45
36
LL | use bar::Bar;
46
37
| ^^^^^^^^ help: use `crate`: `crate::bar::Bar`
@@ -49,7 +40,7 @@ LL | use bar::Bar;
49
40
= note: for more information, see issue TBD
50
41
51
42
error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
52
- --> $DIR/edition-lint-paths.rs:59 :9
43
+ --> $DIR/edition-lint-paths.rs:57 :9
53
44
|
54
45
LL | use *;
55
46
| ^ help: use `crate`: `crate::*`
@@ -58,7 +49,7 @@ LL | use *;
58
49
= note: for more information, see issue TBD
59
50
60
51
error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
61
- --> $DIR/edition-lint-paths.rs:64 :6
52
+ --> $DIR/edition-lint-paths.rs:62 :6
62
53
|
63
54
LL | impl ::foo::SomeTrait for u32 { }
64
55
| ^^^^^^^^^^^^^^^^ help: use `crate`: `crate::foo::SomeTrait`
@@ -67,13 +58,13 @@ LL | impl ::foo::SomeTrait for u32 { }
67
58
= note: for more information, see issue TBD
68
59
69
60
error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
70
- --> $DIR/edition-lint-paths.rs:69 :13
61
+ --> $DIR/edition-lint-paths.rs:67 :13
71
62
|
72
63
LL | let x = ::bar::Bar;
73
64
| ^^^^^^^^^^ help: use `crate`: `crate::bar::Bar`
74
65
|
75
66
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
76
67
= note: for more information, see issue TBD
77
68
78
- error: aborting due to 8 previous errors
69
+ error: aborting due to 7 previous errors
79
70
0 commit comments