summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/issue-90878-2.stderr
blob: 71b8d21fb4dc27886c97c6819386b1ca2ed25781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: unexpected expression: `|x| [b; x]`
  --> $DIR/issue-90878-2.rs:1:7
   |
LL |  #![l=|x|[b;x ]]
   |       ^^^^^^^^^

error: cannot find attribute `l` in this scope
  --> $DIR/issue-90878-2.rs:1:5
   |
LL |  #![l=|x|[b;x ]]
   |     ^

error: aborting due to 2 previous errors