summaryrefslogtreecommitdiffstats
path: root/tests/ui/attributes/no-mangle-closure.stderr
blob: c183783493bdb9cb9066adf9fa8c2e2076d72779 (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 1 previous error