mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
25 lines
522 B
Plaintext
25 lines
522 B
Plaintext
error: wrong meta list delimiters
|
|
--> $DIR/malformed-meta-delim.rs:3:9
|
|
|
|
|
LL | #[allow { foo_lint } ]
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
help: the delimiters should be `(` and `)`
|
|
|
|
|
LL | #[allow ( foo_lint ) ]
|
|
| ~ ~
|
|
|
|
error: wrong meta list delimiters
|
|
--> $DIR/malformed-meta-delim.rs:8:9
|
|
|
|
|
LL | #[allow [ foo_lint ] ]
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
help: the delimiters should be `(` and `)`
|
|
|
|
|
LL | #[allow ( foo_lint ) ]
|
|
| ~ ~
|
|
|
|
error: aborting due to 2 previous errors
|
|
|