about summary refs log tree commit diff
path: root/src/tools/miri/tests/native-lib/fail/struct_not_extern_c.stderr
blob: 90e59a31da429904bae52c2ba927b193ceca9b51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: unsupported operation: passing a non-#[repr(C)] struct over FFI: PassMe
  --> tests/native-lib/fail/struct_not_extern_c.rs:LL:CC
   |
LL |     unsafe { pass_struct(pass_me) };
   |              ^^^^^^^^^^^^^^^^^^^^ unsupported operation occurred here
   |
   = help: this is likely not a bug in the program; it indicates that the program performed an operation that Miri does not support
   = note: BACKTRACE:
   = note: inside `main` at tests/native-lib/fail/struct_not_extern_c.rs:LL:CC

note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace

error: aborting due to 1 previous error