]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/type-alias-impl-trait/closure_args.rs
3 // regression test for https://github.com/rust-lang/rust/issues/100800
5 #![feature(type_alias_impl_trait)]
8 impl<T
> Anything
for T {}
9 type Input
= impl Anything
;
10 fn run
<F
: FnOnce(Input
) -> ()>(f
: F
, i
: Input
) {
15 run(|x
: u32| {println!("{x}
");}, 0);