diff options
| author | varkor <github@varkor.com> | 2018-07-23 21:05:39 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2018-08-05 15:54:49 +0100 |
| commit | 120989195f0a20e871bf3a9fd91f8fc93ca76d56 (patch) | |
| tree | dbe02b656df9c98315deec6d43dc085c498589b2 /src/libsyntax | |
| parent | 47619c0dc7f2048dbd5287a57182da50de0f4f1a (diff) | |
| download | rust-120989195f0a20e871bf3a9fd91f8fc93ca76d56.tar.gz rust-120989195f0a20e871bf3a9fd91f8fc93ca76d56.zip | |
Convert unknown_features lint into an error
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/diagnostic_list.rs | 12 | ||||
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 1 |
2 files changed, 0 insertions, 13 deletions
diff --git a/src/libsyntax/diagnostic_list.rs b/src/libsyntax/diagnostic_list.rs index 20be7f8361a..8534969c623 100644 --- a/src/libsyntax/diagnostic_list.rs +++ b/src/libsyntax/diagnostic_list.rs @@ -374,18 +374,6 @@ and likely to change in the future. "##, -E0635: r##" -The `#![feature]` attribute specified an unknown feature. - -Erroneous code example: - -```compile_fail,E0635 -#![feature(nonexistent_rust_feature)] // error: unknown feature -``` - -"##, - - } register_diagnostics! { diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 9ca9909ffa6..4aafe8bba58 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -140,7 +140,6 @@ declare_features! ( (active, linkage, "1.0.0", Some(29603), None), (active, quote, "1.0.0", Some(29601), None), - // rustc internal (active, rustc_diagnostic_macros, "1.0.0", None, None), (active, rustc_const_unstable, "1.0.0", None, None), |
