1 // Regression test for #57200
2 // FIXME: The error is temporary hack, we'll revisit here at some point.
4 #![feature(impl_trait_in_bindings)]
5 #![allow(incomplete_features)]
11 let f: impl Fn(&'a T) -> &'b T = |x| x;
12 //~^ ERROR: lifetimes in impl Trait types in bindings are not currently supported