]> git.lizzy.rs Git - rust.git/blob - tests/ui/pattern/issue-74702.rs
Rollup merge of #106749 - glandium:dwarf, r=Mark-Simulacrum
[rust.git] / tests / 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 }