rust/src/test/ui/malformed/malformed-meta-delim.stderr

25 lines
522 B
Plaintext
Raw Normal View History

2019-12-05 07:19:00 -06:00
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