Sign in
rust
/
rust
/
08cd08fbef8c6663b052d8d9e4930d5696cbb8a7
/
.
/
tests
/
ui
/
issues
/
issue-42880.rs
blob: 36d15fc35b48a6551dfc53848d7b585fc5f3b6db [
file
]
type
Value
=
String
;
fn
main
()
{
let
f
=
|&
Value
::
String
(
_
)|
();
//~ ERROR no associated function or constant named
let
vec
:
Vec
<
Value
>
=
Vec
::
new
();
vec
.
last
().
map
(
f
);
}