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);