]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/simple-generic-match.rs
Rollup merge of #104822 - spastorino:selctx-new-instead-of-with_query_mode, r=lcnr
[rust.git] / src / test / ui / binding / simple-generic-match.rs
1 // run-pass
2 #![allow(non_camel_case_types)]
3
4 // pretty-expanded FIXME #23616
5
6 enum clam<T> { a(#[allow(unused_tuple_struct_fields)] T), }
7
8 pub fn main() { let c = clam::a(2); match c { clam::a::<isize>(_) => { } } }