]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/issue-74702.rs
Merge commit 'f2cdd4a78d89c009342197cf5844a21f8aa813df' into sync_cg_clif-2022-04-22
[rust.git] / src / test / ui / pattern / issue-74702.rs
1 fn main() {
2     let (foo @ ..,) = (0, 0);
3     //~^ ERROR: `foo @` is not allowed in a tuple
4     //~| ERROR: `..` patterns are not allowed here
5     //~| ERROR: mismatched types
6     dbg!(foo);
7 }