blob: 97f8c799fc566e02165882f4fb5ee4ab323ad061 [file] [log] [blame]
// check-pass
// edition: 2021
#![feature(type_alias_impl_trait)]
struct Foo<'a>(&'a ());
impl<'a> Foo<'a> {
async fn new() -> () {
type T = impl Sized;
let _: T = ();
}
}
fn main() {}