blob: 8b8bb35d56c1ec4df520ae2a65e9d343571cf455 [file] [log] [blame] [edit]
//@ known-bug: #122904
trait T {}
type Alias<'a> = impl T;
struct S;
impl<'a> T for &'a S {}
fn with_positive(fun: impl Fn(Alias<'_>)) {
with_positive(|&n| ());
}