blob: a2471ec78eed5f04684a4e150ba93bcb4974e3a9 [file] [view]
#### Note: this error code is no longer emitted by the compiler
An invalid lint attribute has been given.
Erroneous code example:
```compile_fail
#![allow(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!
```