]> git.lizzy.rs Git - rust.git/commit
Tweak the raw_identifiers lints in 2018
authorAlex Crichton <alex@alexcrichton.com>
Thu, 26 Jul 2018 00:26:58 +0000 (17:26 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 26 Jul 2018 21:14:10 +0000 (14:14 -0700)
commit336cf9db5f1c6efb0e2a6fe6e45a0716fd702188
treee159aa6c1cc03ec1d45e06c878b3919310714a2f
parente842dea7a3d9babc7a19bd201711f4243840fab0
Tweak the raw_identifiers lints in 2018

* Enable the `raw_identifiers` feature automatically in the 2018 preview
* Only emit lint warnings if the `raw_identifiers` feature is activated

cc rust-lang/cargo#5783
src/librustc_lint/builtin.rs
src/libsyntax/feature_gate.rs
src/test/ui/rust-2018/async-ident-allowed.rs [new file with mode: 0644]
src/test/ui/rust-2018/async-ident-allowed.stderr [new file with mode: 0644]