]> git.proxmox.com Git - rustc.git/blame - src/test/ui/unwind-abis/ffi-unwind-calls-lint.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / unwind-abis / ffi-unwind-calls-lint.stderr
CommitLineData
064997fb 1warning: call to foreign function with FFI-unwind ABI
2b03887a 2 --> $DIR/ffi-unwind-calls-lint.rs:20:14
064997fb
FG
3 |
4LL | unsafe { foo(); }
5 | ^^^^^ call to foreign function with FFI-unwind ABI
6 |
7note: the lint level is defined here
2b03887a 8 --> $DIR/ffi-unwind-calls-lint.rs:5:9
064997fb
FG
9 |
10LL | #![warn(ffi_unwind_calls)]
11 | ^^^^^^^^^^^^^^^^
12
13warning: call to function pointer with FFI-unwind ABI
2b03887a 14 --> $DIR/ffi-unwind-calls-lint.rs:24:5
064997fb
FG
15 |
16LL | ptr();
17 | ^^^^^ call to function pointer with FFI-unwind ABI
18
19warning: 2 warnings emitted
20