]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/simple-generic-match.rs
Rollup merge of #89468 - FabianWolff:issue-89358, r=jackh726
[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(T), }
7
8 pub fn main() { let c = clam::a(2); match c { clam::a::<isize>(_) => { } } }