]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/issue-90878-2.rs
Rollup merge of #106951 - tmiasko:rm-simplify-initial, r=oli-obk
[rust.git] / tests / ui / consts / issue-90878-2.rs
1  #![l=|x|[b;x ]] //~ ERROR unexpected expression: `|x| [b; x]`
2 //~^ ERROR cannot find attribute `l` in this scope
3
4 // notice the space at the start,
5 // we can't attach any attributes to this file because it needs to be at the start
6
7 // this example has been slightly modified (adding ]] at the end), so that it actually works here
8 // it still produces the same issue though
9
10 fn main() {}