]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/lint/lint-ctypes-73251-2.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / lint / lint-ctypes-73251-2.stderr
index 64f0fb2d892a45d31448a07da8a1bf46be8ded0c..0b3de379c19d50c3a87f0652837e6f5c4e5b320e 100644 (file)
@@ -4,12 +4,12 @@ error: `extern` block uses type `AliasA`, which is not FFI-safe
 LL |     pub fn lint_me() -> <AliasB as TraitB>::Assoc;
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
    |
+   = note: opaque types have no C equivalent
 note: the lint level is defined here
   --> $DIR/lint-ctypes-73251-2.rs:2:9
    |
 LL | #![deny(improper_ctypes)]
    |         ^^^^^^^^^^^^^^^
-   = note: opaque types have no C equivalent
 
 error: aborting due to previous error