| error: Undefined Behavior: constructing invalid value: encountered 0, but expected something greater or equal to 1 |
| --> $DIR/cast_fn_ptr_invalid_caller_arg.rs:LL:CC |
| | |
| LL | Call(_res = f(*ptr), ReturnTo(retblock), UnwindContinue()) |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constructing invalid value: encountered 0, but expected something greater or equal to 1 |
| | |
| = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior |
| = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information |
| = note: BACKTRACE: |
| = note: inside `call` at $DIR/cast_fn_ptr_invalid_caller_arg.rs:LL:CC |
| note: inside `main` |
| --> $DIR/cast_fn_ptr_invalid_caller_arg.rs:LL:CC |
| | |
| LL | call(f); |
| | ^^^^^^^ |
| |
| note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace |
| |
| error: aborting due to 1 previous error |
| |