Sign in
fuchsia
/
third_party
/
rust
/
e3029abfaec4252ab0ae7010780be0094d8870e0
/
.
/
tests
/
crashes
/
126667.rs
blob: 27b170d6da5fcd0b5a009fbb1c23833b7959cce3 [
file
] [
log
] [
blame
]
//@ known-bug: rust-lang/rust#126667
#![
warn
(
rust_2021_compatibility
)]
trait
Static
<
'
a
>
{}
struct
Foo
((
u32
,
u32
));
fn
main
()
{
type
T
=
impl
Static
;
let
foo
:
T
=
Foo
((
1u32
,
2u32
));
let
x
=
move
||
{
let
Foo
((
a
,
b
))
=
foo
;
};
}