]>
Commit | Line | Data |
---|---|---|
064997fb | 1 | warning: call to foreign function with FFI-unwind ABI |
2b03887a | 2 | --> $DIR/ffi-unwind-calls-lint.rs:20:14 |
064997fb FG |
3 | | |
4 | LL | unsafe { foo(); } | |
5 | | ^^^^^ call to foreign function with FFI-unwind ABI | |
6 | | | |
7 | note: the lint level is defined here | |
2b03887a | 8 | --> $DIR/ffi-unwind-calls-lint.rs:5:9 |
064997fb FG |
9 | | |
10 | LL | #![warn(ffi_unwind_calls)] | |
11 | | ^^^^^^^^^^^^^^^^ | |
12 | ||
13 | warning: call to function pointer with FFI-unwind ABI | |
2b03887a | 14 | --> $DIR/ffi-unwind-calls-lint.rs:24:5 |
064997fb FG |
15 | | |
16 | LL | ptr(); | |
17 | | ^^^^^ call to function pointer with FFI-unwind ABI | |
18 | ||
19 | warning: 2 warnings emitted | |
20 |