summaryrefslogtreecommitdiffstats
path: root/tests/ui/attributes/no-mangle-closure.stderr
blob: 949eb70510e4d2bc3bc8425c15e21457b276d898 (plain)
1
2
3
4
5
6
7
8
error: `#[no_mangle]` cannot be used on a closure as it has no name
  --> $DIR/no-mangle-closure.rs:9:6
   |
LL |     (#[no_mangle] || y.0[0])()
   |      ^^^^^^^^^^^^

error: aborting due to previous error