Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
span
/
issue-40157.rs
blob: 03ad21ae773af952409d0485ef2141ead77805f0 [
file
] [
log
] [
blame
] [
edit
]
fn
main
()
{
{
println
!(
"{:?}"
,
match
{
let
foo
=
vec
![
1
,
2
];
foo
.
get
(
1
)
}
{
x
=>
x
});}
//~^ ERROR does not live long enough
}