fork/rust

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

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

master
676 B21 linesraw
1error: only foreign or `unsafe extern "C"` functions may be C-variadic
2  --> $DIR/issue-83499-input-output-iteration-ice.rs:7:16
3   |
4LL | fn foo(_: Bar, ...) -> impl {}
5   |                ^^^
6
7error: at least one trait must be specified
8  --> $DIR/issue-83499-input-output-iteration-ice.rs:7:24
9   |
10LL | fn foo(_: Bar, ...) -> impl {}
11   |                        ^^^^
12
13error[E0412]: cannot find type `Bar` in this scope
14  --> $DIR/issue-83499-input-output-iteration-ice.rs:7:11
15   |
16LL | fn foo(_: Bar, ...) -> impl {}
17   |           ^^^ not found in this scope
18
19error: aborting due to 3 previous errors
20
21For more information about this error, try `rustc --explain E0412`.