summaryrefslogtreecommitdiffstats
path: root/tests/ui/malformed/malformed-meta-delim.stderr
blob: 27636c3d546fdd09f752b2ed7c4e83392142a97e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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