]> git.proxmox.com Git - rustc.git/blobdiff - tests/ui/parser/variadic-ffi-nested-syntactic-fail.stderr
New upstream version 1.75.0+dfsg1
[rustc.git] / tests / ui / parser / variadic-ffi-nested-syntactic-fail.stderr
index 8b9d676a45daed79305de7cf3961562c810cc44d..7ca6a6d1bbfeabd210b75485ca78fed1cbfda0ab 100644 (file)
@@ -10,15 +10,6 @@ error[E0743]: C-variadic type `...` may not be nested inside another type
 LL | fn f2<'a>(x: u8, y: Vec<&'a ...>) {}
    |                             ^^^
 
-error[E0308]: mismatched types
-  --> $DIR/variadic-ffi-nested-syntactic-fail.rs:8:33
-   |
-LL |     let _recovery_witness: () = 0;
-   |                            --   ^ expected `()`, found integer
-   |                            |
-   |                            expected due to this
-
-error: aborting due to 3 previous errors
+error: aborting due to 2 previous errors
 
-Some errors have detailed explanations: E0308, E0743.
-For more information about an error, try `rustc --explain E0308`.
+For more information about this error, try `rustc --explain E0743`.