]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lint/opaque-ty-ffi-unsafe.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / lint / opaque-ty-ffi-unsafe.stderr
CommitLineData
e1599b0c
XL
1error: `extern` block uses type `A`, which is not FFI-safe
2 --> $DIR/opaque-ty-ffi-unsafe.rs:12:17
3 |
4LL | pub fn a(_: A);
5 | ^ not FFI-safe
6 |
74b04a01 7note: the lint level is defined here
e1599b0c
XL
8 --> $DIR/opaque-ty-ffi-unsafe.rs:3:9
9 |
10LL | #![deny(improper_ctypes)]
11 | ^^^^^^^^^^^^^^^
12 = note: opaque types have no C equivalent
13
14error: aborting due to previous error
15