Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
type-alias-impl-trait
/
duplicate-lifetimes-from-rpit-containing-tait2.rs
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
()
{}