diff options
| author | bors <bors@rust-lang.org> | 2018-10-28 00:28:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-10-28 00:28:03 +0000 |
| commit | 18311a6c47899853071cf90e37782d398dffaeed (patch) | |
| tree | a597177d7eed26e95aee8887ab4376cb6172b1da /src/libsyntax | |
| parent | cae6efc37d70ab7d353e6ab9ce229d59a65ed643 (diff) | |
| parent | f66ea66acd1c5e24e16fafe28021af1b723d6824 (diff) | |
| download | rust-18311a6c47899853071cf90e37782d398dffaeed.tar.gz rust-18311a6c47899853071cf90e37782d398dffaeed.zip | |
Auto merge of #54683 - zackmdavis:critique_of_pure_lints, r=petrochenkov
lint reasons (RFC 2883, part 1) This implements the `reason =` functionality described in [the RFC](https://github.com/rust-lang/rfcs/blob/master/text/2383-lint-reasons.md) under a `lint_reasons` feature gate. 
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 2cd4fd92bc8..da0ec33030e 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -504,6 +504,9 @@ declare_features! ( // `extern crate foo as bar;` puts `bar` into extern prelude. (active, extern_crate_item_prelude, "1.31.0", Some(54658), None), + + // `reason = ` in lint attributes and `expect` lint attribute + (active, lint_reasons, "1.31.0", Some(54503), None), ); declare_features! ( |
