]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-pre-expansion-extern-module.stderr
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / ui / lint / lint-pre-expansion-extern-module.stderr
1 warning: `try` is a keyword in the 2018 edition
2   --> $DIR/lint_pre_expansion_extern_module_aux.rs:3:8
3    |
4 LL | pub fn try() {}
5    |        ^^^ help: you can use a raw identifier to stay compatible: `r#try`
6    |
7    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
8    = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
9    = note: `-W keyword-idents` implied by `-W rust-2018-compatibility`
10
11 warning: 1 warning emitted
12