The feature attribute was badly formed.
Erroneous code example:
#![allow(unused)]
#![feature(foo_bar_baz, foo(bar), foo = "baz", foo)] // error!
#![feature] // error!
#![feature = "foo"] // error!
fn main() {
} The feature attribute only accept a "feature flag" and can only be used on nightly. Example:
#![feature(flag)]
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/error_codes/E0556.html