fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
1.1 KiB24 linesraw
1warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
2  --> $DIR/suggestions-not-always-applicable.rs:17:5
3   |
4LL |     #[foo]
5   |     ^^^^^^
6   |
7note: lint level defined here
8  --> $DIR/suggestions-not-always-applicable.rs:8:9
9   |
10LL | #![warn(rust_2018_compatibility)]
11   |         ^^^^^^^^^^^^^^^^^^^^^^^
12   = note: `#[warn(absolute_paths_not_starting_with_crate)]` implied by `#[warn(rust_2018_compatibility)]`
13   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
14   = note: for more information, see issue #53130 <https://github.com/rust-lang/rust/issues/53130>
15
16warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
17  --> $DIR/suggestions-not-always-applicable.rs:17:5
18   |
19LL |     #[foo]
20   |     ^^^^^^
21   |
22   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
23   = note: for more information, see issue #53130 <https://github.com/rust-lang/rust/issues/53130>
24