1
1
error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
2
- --> $DIR/edition-lint-fully-qualified-paths.rs:18 :25
2
+ --> $DIR/edition-lint-fully-qualified-paths.rs:19 :25
3
3
|
4
4
LL | let _: <foo::Baz as ::foo::Foo>::Bar = ();
5
5
| ^^^^^^^^^^ help: use `crate`: `crate::foo::Foo`
6
6
|
7
7
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
8
8
= note: for more information, see issue #53130 <https://github.com/rust-lang/rust/issues/53130>
9
9
note: the lint level is defined here
10
- --> $DIR/edition-lint-fully-qualified-paths.rs:3 :9
10
+ --> $DIR/edition-lint-fully-qualified-paths.rs:4 :9
11
11
|
12
12
LL | #![deny(absolute_paths_not_starting_with_crate)]
13
13
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
14
15
15
error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
16
- --> $DIR/edition-lint-fully-qualified-paths.rs:18 :25
16
+ --> $DIR/edition-lint-fully-qualified-paths.rs:19 :25
17
17
|
18
18
LL | let _: <foo::Baz as ::foo::Foo>::Bar = ();
19
19
| ^^^^^^^^^^ help: use `crate`: `crate::foo::Foo`
@@ -23,7 +23,7 @@ LL | let _: <foo::Baz as ::foo::Foo>::Bar = ();
23
23
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
24
24
25
25
error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
26
- --> $DIR/edition-lint-fully-qualified-paths.rs:24 :13
26
+ --> $DIR/edition-lint-fully-qualified-paths.rs:25 :13
27
27
|
28
28
LL | let _: <::foo::Baz as foo::Foo>::Bar = ();
29
29
| ^^^^^^^^^^ help: use `crate`: `crate::foo::Baz`
0 commit comments