about summary refs log tree commit diff
path: root/tests/ui/asm/naked-functions-ffi.stderr
blob: f7893a3b8de980d9a60126bebac225e003b69d66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
warning: `extern` fn uses type `char`, which is not FFI-safe
  --> $DIR/naked-functions-ffi.rs:8:28
   |
LL | pub extern "C" fn naked(p: char) -> u128 {
   |                            ^^^^ not FFI-safe
   |
   = help: consider using `u32` or `libc::wchar_t` instead
   = note: the `char` type has no C equivalent
   = note: `#[warn(improper_ctypes_definitions)]` on by default

warning: 1 warning emitted