Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
type-alias-impl-trait
/
tait-normalize.rs
blob: 38e09b6087b6411ca30c8fd22bc15dafecbda73f [
file
] [
log
] [
blame
]
//@ check-pass
#![
feature
(
type_alias_impl_trait
)]
fn
enum_upvar
()
{
type
T
=
impl
Copy
;
let
foo
:
T
=
Some
((
1u32
,
2u32
));
let
x
=
move
||
match
foo
{
None
=>
(),
Some
((
a
,
b
))
=>
(),
};
}
fn
main
(){}