summaryrefslogtreecommitdiffstats
path: root/tests/ui/binding/simple-generic-match.rs
blob: 2cf050d011daebdcd487dee7b215a106f4ae88de (plain)
1
2
3
4
5
6
7
8
// run-pass
#![allow(non_camel_case_types)]

// pretty-expanded FIXME #23616

enum clam<T> { a(#[allow(unused_tuple_struct_fields)] T), }

pub fn main() { let c = clam::a(2); match c { clam::a::<isize>(_) => { } } }