rust/tests/ui/attributes/no-mangle-closure.stderr
2023-03-28 18:05:12 +00:00

9 lines
208 B
Plaintext

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