about summary refs log tree commit diff
path: root/tests/ui/abi/unsupported-abi-transmute.stderr
blob: f1d202b1a1c7311cc631f81edbbafa2b5d26e41d (plain)
1
2
3
4
5
6
7
8
9
error[E0570]: "rust-invalid" is not a supported ABI for the current target
  --> $DIR/unsupported-abi-transmute.rs:10:53
   |
LL |     let a = unsafe { mem::transmute::<usize, extern "rust-invalid" fn(i32)>(4) }(2);
   |                                                     ^^^^^^^^^^^^^^

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0570`.