diff options
| author | bors <bors@rust-lang.org> | 2018-07-30 08:25:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-07-30 08:25:36 +0000 |
| commit | 5ed2b5120bd875a7eb9fd8545d86eb1de1e41bce (patch) | |
| tree | 95f28fc8063ad27da783da4589d601d3e06a1220 /src/libsyntax | |
| parent | 7bbcd005b30582d07f1a39dcf50f77b54e055828 (diff) | |
| parent | 336cf9db5f1c6efb0e2a6fe6e45a0716fd702188 (diff) | |
| download | rust-5ed2b5120bd875a7eb9fd8545d86eb1de1e41bce.tar.gz rust-5ed2b5120bd875a7eb9fd8545d86eb1de1e41bce.zip | |
Auto merge of #52722 - alexcrichton:more-identifier-lints, r=oli-obk
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
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 087fec09719..40fb2c69e57 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -412,7 +412,7 @@ declare_features! ( (active, underscore_imports, "1.26.0", Some(48216), None), // Allows keywords to be escaped for use as identifiers - (active, raw_identifiers, "1.26.0", Some(48589), None), + (active, raw_identifiers, "1.26.0", Some(48589), Some(Edition::Edition2018)), // Allows macro invocations in `extern {}` blocks (active, macros_in_extern, "1.27.0", Some(49476), None), |
