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