Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
crashes
/
119786-3.rs
blob: 34bb90fd0fae3d52295d79240d287721cd4a79a6 [
file
] [
edit
]
//@ known-bug: #119786
//@ edition:2021
fn
enum_upvar
()
{
type
T
=
impl
Copy
;
let
foo
:
T
=
Some
((
1u32
,
2u32
));
let
x
=
move
||
{
match
foo
{
None
=>
(),
Some
((
a
,
b
))
=>
(),
}
};
}
pub
fn
main
()
{}