Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
crashes
/
128094.rs
blob: 105a1c84a6565e6b87c4417650e58332fa20dfbb [
file
] [
log
] [
blame
] [
edit
]
//@ known-bug: rust-lang/rust#128094
//@ compile-flags: -Zmir-opt-level=5 --edition=2018
pub
enum
Request
{
TestSome
(
T
),
}
pub
async
fn
handle_event
(
event
:
Request
)
{
async
move
{
static
instance
:
Request
=
Request
{
bar
:
17
};
&
instance
}
.
await
;
}