about summary refs log tree commit diff
path: root/src/tools/miri/tests/fail/shims/input_arg_mismatch.stderr
blob: ec27fd5ebb8fef91265e4983cfe1c51e72214267 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: Undefined Behavior: calling a function whose parameter #1 has type i32 passing argument of type u32
  --> tests/fail/shims/input_arg_mismatch.rs:LL:CC
   |
LL |         close(fd);
   |         ^^^^^^^^^ Undefined Behavior occurred here
   |
   = 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: this means these two types are not *guaranteed* to be ABI-compatible across all targets
   = help: if you think this code should be accepted anyway, please report an issue with Miri
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/shims/input_arg_mismatch.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