]> git.proxmox.com Git - rustc.git/blame - src/test/ui/binding/simple-generic-match.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / binding / simple-generic-match.rs
CommitLineData
b7449926
XL
1// run-pass
2#![allow(non_camel_case_types)]
223e47cc 3
c34b1796
AL
4// pretty-expanded FIXME #23616
5
064997fb 6enum clam<T> { a(#[allow(unused_tuple_struct_fields)] T), }
223e47cc 7
c34b1796 8pub fn main() { let c = clam::a(2); match c { clam::a::<isize>(_) => { } } }