]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-ctypes-73249-3.stderr
Change inference var check to be in project_type
[rust.git] / src / test / ui / lint / lint-ctypes-73249-3.stderr
1 error: `extern` block uses type `impl Baz`, which is not FFI-safe
2   --> $DIR/lint-ctypes-73249-3.rs:20:25
3    |
4 LL |     pub fn lint_me() -> A;
5    |                         ^ not FFI-safe
6    |
7 note: the lint level is defined here
8   --> $DIR/lint-ctypes-73249-3.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