]> git.proxmox.com Git - rustc.git/blob - src/test/ui/resolve/tuple-struct-alias.stderr
New upstream version 1.19.0+dfsg1
[rustc.git] / src / test / ui / resolve / tuple-struct-alias.stderr
1 error[E0423]: expected function, found self type `Self`
2 --> $DIR/tuple-struct-alias.rs:16:17
3 |
4 16 | let s = Self(0, 1);
5 | ^^^^ did you mean `Self { /* fields */ }`?
6
7 error[E0532]: expected tuple struct/variant, found self type `Self`
8 --> $DIR/tuple-struct-alias.rs:18:13
9 |
10 18 | Self(..) => {}
11 | ^^^^ did you mean `Self { /* fields */ }`?
12
13 error[E0423]: expected function, found type alias `A`
14 --> $DIR/tuple-struct-alias.rs:24:13
15 |
16 24 | let s = A(0, 1);
17 | ^
18 | |
19 | did you mean `S`?
20 | did you mean `A { /* fields */ }`?
21
22 error[E0532]: expected tuple struct/variant, found type alias `A`
23 --> $DIR/tuple-struct-alias.rs:26:9
24 |
25 26 | A(..) => {}
26 | ^
27 | |
28 | did you mean `S`?
29 | did you mean `A { /* fields */ }`?
30
31 error: aborting due to previous error(s)
32