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