Error code E0556

The feature attribute was badly formed.

Erroneous code example:

#![feature(foo_bar_baz, foo(bar), foo = "baz", foo)] // error!
#![feature] // error!
#![feature = "foo"] // error!
Run

The feature attribute only accept a “feature flag” and can only be used on nightly. Example:

#![feature(flag)]
Run

Back to list of error codes