]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/issue-74702.rs
Rollup merge of #105555 - krasimirgg:llvm-int-opt-2, r=cuviper
[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 }