blob: 581687e86974a0946980fb97aa3045976d5736dd [file] [view]
An invalid lint attribute has been given.
Erroneous code example:
```compile_fail,E0452
#![allow(reason = "", foo)] // error: malformed lint attribute
```
Lint attributes only accept a list of identifiers (where each identifier is a
lint name). Ensure the attribute is of this form:
```
#![allow(foo)] // ok!
// or:
#![allow(foo, foo2)] // ok!
```