mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +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
|
|
|