]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-pre-expansion-extern-module.stderr
Rollup merge of #85501 - jyn514:invalid-doc-attrs, r=varkor
[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    = note: `-W keyword-idents` implied by `-W rust-2018-compatibility`
8    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
9    = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
10
11 warning: 1 warning emitted
12