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/diagnostic_list.rs | |
| parent | 47619c0dc7f2048dbd5287a57182da50de0f4f1a (diff) | |
| download | rust-120989195f0a20e871bf3a9fd91f8fc93ca76d56.tar.gz rust-120989195f0a20e871bf3a9fd91f8fc93ca76d56.zip | |
Convert unknown_features lint into an error
Diffstat (limited to 'src/libsyntax/diagnostic_list.rs')
| -rw-r--r-- | src/libsyntax/diagnostic_list.rs | 12 |
1 files changed, 0 insertions, 12 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! { |
