Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
type-alias-impl-trait
/
cross_inference_pattern_bug.rs
blob: 4f3f6d37eff4efc522615b39b6a48043d220eaf1 [
file
] [
log
] [
blame
]
//@ compile-flags: --edition=2021
//@ build-pass
#![
feature
(
type_alias_impl_trait
)]
fn
main
()
{
type
T
=
impl
Copy
;
let
foo
:
T
=
(
1u32
,
2u32
);
let
(
a
,
b
):
(
u32
,
u32
)
=
foo
;
}