blob: 2aac8240d293ac1d1b213177820575adaf485d89 [file] [log] [blame] [view]
The `feature` attribute was badly formed.
Erroneous code example:
```compile_fail,E0556
#![feature(foo_bar_baz, foo(bar), foo = "baz", foo)] // error!
#![feature] // error!
#![feature = "foo"] // error!
```
The `feature` attribute only accept a "feature flag" and can only be used on
nightly. Example:
```ignore (only works in nightly)
#![feature(flag)]
```