fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
1.4 KiB28 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: the lint level is 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   = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
16
17warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
18  --> $DIR/suggestions-not-always-applicable.rs:17:5
19   |
20LL |     #[foo]
21   |     ^^^^^^
22   |
23   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
24   = note: for more information, see issue #53130 <https://github.com/rust-lang/rust/issues/53130>
25   = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
26
27warning: 2 warnings emitted
28