mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
210 B
Plaintext
9 lines
210 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 1 previous error
|
|
|