]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lint/lint-ctypes-73251-1.stderr
New upstream version 1.51.0+dfsg1
[rustc.git] / src / test / ui / lint / lint-ctypes-73251-1.stderr
CommitLineData
f035d41b
XL
1error: `extern` block uses type `impl Baz`, which is not FFI-safe
2 --> $DIR/lint-ctypes-73251-1.rs:21:25
3 |
4LL | pub fn lint_me() -> <u32 as Foo>::Assoc;
5 | ^^^^^^^^^^^^^^^^^^^ not FFI-safe
6 |
7note: the lint level is defined here
8 --> $DIR/lint-ctypes-73251-1.rs:2:9
9 |
10LL | #![deny(improper_ctypes)]
11 | ^^^^^^^^^^^^^^^
12 = note: opaque types have no C equivalent
13
14error: aborting due to previous error
15