extended information for E0557 feature has been removed

This commit is contained in:
Zack M. Davis 2017-08-07 15:37:13 -07:00
parent 93bc599d65
commit 116bf07c32

View File

@ -207,6 +207,18 @@ struct MyStruct {
(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 @@ fn main() {
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
}