]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/polymorphization/promoted-function-1.rs
2 // compile-flags: -Zpolymorphize=on
4 #![feature(rustc_attrs)]
6 fn foo
<'a
>(_
: &'
a ()) {}
8 #[rustc_polymorphize_error]
10 //~^ ERROR item has unused generic parameters