2022-05-20 20:52:00 +00:00
|
|
|
warning: call to foreign function with FFI-unwind ABI
|
2022-12-23 07:50:05 +00:00
|
|
|
--> $DIR/ffi-unwind-calls-lint.rs:19:14
|
2022-05-20 20:52:00 +00:00
|
|
|
|
|
|
|
|
LL | unsafe { foo(); }
|
|
|
|
| ^^^^^ call to foreign function with FFI-unwind ABI
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2022-12-23 07:50:05 +00:00
|
|
|
--> $DIR/ffi-unwind-calls-lint.rs:4:9
|
2022-05-20 20:52:00 +00:00
|
|
|
|
|
|
|
|
LL | #![warn(ffi_unwind_calls)]
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: call to function pointer with FFI-unwind ABI
|
2022-12-23 07:50:05 +00:00
|
|
|
--> $DIR/ffi-unwind-calls-lint.rs:23:5
|
2022-05-20 20:52:00 +00:00
|
|
|
|
|
|
|
|
LL | ptr();
|
|
|
|
| ^^^^^ call to function pointer with FFI-unwind ABI
|
|
|
|
|
|
|
|
warning: 2 warnings emitted
|
|
|
|
|