Fix miri
tests.
This commit is contained in:
parent
85dfb479df
commit
b5c11d1e38
2 changed files with 4 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
||||||
error: Undefined Behavior: constructing invalid value: encountered 0, but expected something greater or equal to 1
|
error: Undefined Behavior: constructing invalid value at .0: encountered 0, but expected something greater or equal to 1
|
||||||
--> $DIR/cast_fn_ptr_invalid_callee_ret.rs:LL:CC
|
--> $DIR/cast_fn_ptr_invalid_callee_ret.rs:LL:CC
|
||||||
|
|
|
|
||||||
LL | f();
|
LL | f();
|
||||||
| ^^^ constructing invalid value: encountered 0, but expected something greater or equal to 1
|
| ^^^ constructing invalid value at .0: 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: 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
|
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
error: Undefined Behavior: constructing invalid value: encountered 0, but expected something greater or equal to 1
|
error: Undefined Behavior: constructing invalid value at .0: encountered 0, but expected something greater or equal to 1
|
||||||
--> $DIR/cast_fn_ptr_invalid_caller_arg.rs:LL:CC
|
--> $DIR/cast_fn_ptr_invalid_caller_arg.rs:LL:CC
|
||||||
|
|
|
|
||||||
LL | Call(_res = f(*ptr), ReturnTo(retblock), UnwindContinue())
|
LL | Call(_res = f(*ptr), ReturnTo(retblock), UnwindContinue())
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constructing invalid value: encountered 0, but expected something greater or equal to 1
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constructing invalid value at .0: 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: 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
|
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue