]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-28992-empty.stderr
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / src / test / ui / issues / issue-28992-empty.stderr
1 error[E0532]: expected tuple struct or tuple variant, found constant `C1`
2   --> $DIR/issue-28992-empty.rs:13:12
3    |
4 LL |     if let C1(..) = 0 {}
5    |            ^^ not a tuple struct or tuple variant
6
7 error[E0164]: expected tuple struct or tuple variant, found associated constant `S::C2`
8   --> $DIR/issue-28992-empty.rs:14:12
9    |
10 LL |     if let S::C2(..) = 0 {}
11    |            ^^^^^^^^^ not a tuple variant or struct
12
13 error: aborting due to 2 previous errors
14
15 Some errors have detailed explanations: E0164, E0532.
16 For more information about an error, try `rustc --explain E0164`.