]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-32086.stderr
Auto merge of #78066 - bugadani:wat, r=jonas-schievink
[rust.git] / src / test / ui / issues / issue-32086.stderr
1 error[E0532]: expected tuple struct or tuple variant, found constant `C`
2   --> $DIR/issue-32086.rs:5:9
3    |
4 LL | struct S(u8);
5    | ------------- similarly named tuple struct `S` defined here
6 ...
7 LL |     let C(a) = S(11);
8    |         ^ help: a tuple struct with a similar name exists: `S`
9
10 error[E0532]: expected tuple struct or tuple variant, found constant `C`
11   --> $DIR/issue-32086.rs:6:9
12    |
13 LL | struct S(u8);
14    | ------------- similarly named tuple struct `S` defined here
15 ...
16 LL |     let C(..) = S(11);
17    |         ^ help: a tuple struct with a similar name exists: `S`
18
19 error: aborting due to 2 previous errors
20
21 For more information about this error, try `rustc --explain E0532`.