mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
21 lines
553 B
Plaintext
21 lines
553 B
Plaintext
warning: call to foreign function with FFI-unwind ABI
|
|
--> $DIR/ffi-unwind-calls-lint.rs:20:14
|
|
|
|
|
LL | unsafe { foo(); }
|
|
| ^^^^^ call to foreign function with FFI-unwind ABI
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/ffi-unwind-calls-lint.rs:5:9
|
|
|
|
|
LL | #![warn(ffi_unwind_calls)]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: call to function pointer with FFI-unwind ABI
|
|
--> $DIR/ffi-unwind-calls-lint.rs:24:5
|
|
|
|
|
LL | ptr();
|
|
| ^^^^^ call to function pointer with FFI-unwind ABI
|
|
|
|
warning: 2 warnings emitted
|
|
|