fork/rust

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

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

master
929 B28 linesraw
1error: expected one of `)` or `,`, found `(`
2  --> $DIR/test2.rs:5:26
3   |
4LL |         struct S3(pub $t ());
5   |                         -^ expected one of `)` or `,`
6   |                         |
7   |                         help: missing `,`
8...
9LL |     define_struct! { (foo) }
10   |     ------------------------ in this macro invocation
11   |
12   = note: this error originates in the macro `define_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
13
14error[E0412]: cannot find type `foo` in this scope
15  --> $DIR/test2.rs:11:23
16   |
17LL |     define_struct! { (foo) }
18   |                       ^^^ not found in this scope
19
20error[E0412]: cannot find type `foo` in this scope
21  --> $DIR/test2.rs:11:23
22   |
23LL |     define_struct! { (foo) }
24   |                       ^^^ not found in this scope
25
26error: aborting due to 3 previous errors
27
28For more information about this error, try `rustc --explain E0412`.