]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rust-2018/try-macro.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / rust-2018 / try-macro.stderr
CommitLineData
b7449926 1warning: `try` is a keyword in the 2018 edition
60c5eb7d 2 --> $DIR/try-macro.rs:12:5
b7449926
XL
3 |
4LL | try!(x);
5 | ^^^ help: you can use a raw identifier to stay compatible: `r#try`
6 |
74b04a01 7note: the lint level is defined here
b7449926
XL
8 --> $DIR/try-macro.rs:6:9
9 |
10LL | #![warn(rust_2018_compatibility)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^
416331ca 12 = note: `#[warn(keyword_idents)]` implied by `#[warn(rust_2018_compatibility)]`
136023e0 13 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
b7449926
XL
14 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
15
ba9703b0
XL
16warning: 1 warning emitted
17