]> git.lizzy.rs Git - rust.git/blob - tests/ui/pattern/issue-74702.rs
Rollup merge of #106973 - oli-obk:tait_ice_closure_in_impl_header, r=lcnr
[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 }