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