Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
impl-trait
/
in-trait
/
async-and-ret-ref.rs
blob: af6ffe8339452fe83e0eed76b156e7f80479a5b3 [
file
] [
log
] [
blame
]
// edition:2021
// https://github.com/rust-lang/rust/issues/117547
trait
T
{}
trait
MyTrait
{
async
fn
foo
()
->
&
'
static
impl
T
;
//~^ ERROR the associated type `<Self as MyTrait>::{opaque#0}` may not live long enough
}
fn
main
()
{}