25 lines
1.1 KiB
Plaintext
25 lines
1.1 KiB
Plaintext
warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
|
|
--> $DIR/suggestions-not-always-applicable.rs:17:5
|
|
|
|
|
LL | #[foo]
|
|
| ^^^^^^
|
|
|
|
|
note: lint level defined here
|
|
--> $DIR/suggestions-not-always-applicable.rs:8:9
|
|
|
|
|
LL | #![warn(rust_2018_compatibility)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
= note: #[warn(absolute_paths_not_starting_with_crate)] implied by #[warn(rust_2018_compatibility)]
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
|
|
= note: for more information, see issue #53130 <https://github.com/rust-lang/rust/issues/53130>
|
|
|
|
warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
|
|
--> $DIR/suggestions-not-always-applicable.rs:17:5
|
|
|
|
|
LL | #[foo]
|
|
| ^^^^^^
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
|
|
= note: for more information, see issue #53130 <https://github.com/rust-lang/rust/issues/53130>
|
|
|