diff options
| author | Zack M. Davis <code@zackmdavis.net> | 2017-08-07 15:37:13 -0700 |
|---|---|---|
| committer | Zack M. Davis <code@zackmdavis.net> | 2017-08-09 01:33:50 -0700 |
| commit | 116bf07c3224301a234a3a9f4b9c137013f6164f (patch) | |
| tree | b10737ae4a2ded578e7886a129202fbb73fc9d86 | |
| parent | 93bc599d65d0f946944b3c97be3556658cc01eab (diff) | |
| download | rust-116bf07c3224301a234a3a9f4b9c137013f6164f.tar.gz rust-116bf07c3224301a234a3a9f4b9c137013f6164f.zip | |
extended information for E0557 feature has been removed
| -rw-r--r-- | src/libsyntax/diagnostic_list.rs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/libsyntax/diagnostic_list.rs b/src/libsyntax/diagnostic_list.rs index 7c6db17a352..2ea3fe51d30 100644 --- a/src/libsyntax/diagnostic_list.rs +++ b/src/libsyntax/diagnostic_list.rs @@ -207,6 +207,18 @@ If you need the feature, make sure to use a nightly release of the compiler (but be warned that the feature may be removed or altered in the future). "##, +E0557: r##" +A feature attribute named a feature that has been removed. + +Erroneous code example: + +```compile_fail,E0557 +#![feature(managed_boxes)] // error: feature has been removed +``` + +Delete the offending feature attribute. +"##, + E0558: r##" The `export_name` attribute was malformed. @@ -347,7 +359,6 @@ register_diagnostics! { E0551, // incorrect meta item E0555, // malformed feature attribute, expected #![feature(...)] E0556, // malformed feature, expected just one word - E0557, // feature has been removed E0584, // file for module `..` found at both .. and .. E0589, // invalid `repr(align)` attribute } |
