summaryrefslogtreecommitdiffstats
path: root/tests/ui/unwind-abis/ffi-unwind-calls-lint.stderr
blob: cf8a7782e35eebcee5e36ce1c94148469c290c79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
warning: call to foreign function with FFI-unwind ABI
  --> $DIR/ffi-unwind-calls-lint.rs:19: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:4:9
   |
LL | #![warn(ffi_unwind_calls)]
   |         ^^^^^^^^^^^^^^^^

warning: call to function pointer with FFI-unwind ABI
  --> $DIR/ffi-unwind-calls-lint.rs:23:5
   |
LL |     ptr();
   |     ^^^^^ call to function pointer with FFI-unwind ABI

warning: 2 warnings emitted