fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
865 B24 linesraw
1error[E0743]: C-variadic type `...` may not be nested inside another type
2  --> $DIR/variadic-ffi-nested-syntactic-fail.rs:1:25
3   |
4LL | fn f1<'a>(x: u8, y: &'a ...) {}
5   |                         ^^^
6
7error[E0743]: C-variadic type `...` may not be nested inside another type
8  --> $DIR/variadic-ffi-nested-syntactic-fail.rs:4:29
9   |
10LL | fn f2<'a>(x: u8, y: Vec<&'a ...>) {}
11   |                             ^^^
12
13error[E0308]: mismatched types
14  --> $DIR/variadic-ffi-nested-syntactic-fail.rs:8:33
15   |
16LL |     let _recovery_witness: () = 0;
17   |                            --   ^ expected `()`, found integer
18   |                            |
19   |                            expected due to this
20
21error: aborting due to 3 previous errors
22
23Some errors have detailed explanations: E0308, E0743.
24For more information about an error, try `rustc --explain E0308`.