rust/tests/ui/unwind-abis/ffi-unwind-calls-lint.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
553 B
Plaintext
Raw Normal View History

warning: call to foreign function with FFI-unwind ABI
2022-09-22 08:18:17 -05:00
--> $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
2022-09-22 08:18:17 -05:00
--> $DIR/ffi-unwind-calls-lint.rs:5:9
|
LL | #![warn(ffi_unwind_calls)]
| ^^^^^^^^^^^^^^^^
warning: call to function pointer with FFI-unwind ABI
2022-09-22 08:18:17 -05:00
--> $DIR/ffi-unwind-calls-lint.rs:24:5
|
LL | ptr();
| ^^^^^ call to function pointer with FFI-unwind ABI
warning: 2 warnings emitted