Sign in
fuchsia
/
third_party
/
rust
/
15f159addefd8fea7564ba7617c8af78582b7816
/
.
/
src
/
test
/
ui
/
issues
/
issue-42880.rs
blob: b61ba80e27abdb24abf38b2fada4df8b0f0958ba [
file
] [
log
] [
blame
]
type
Value
=
String
;
fn
main
()
{
let
f
=
|&
Value
::
String
(
_
)|
();
//~ ERROR no associated item named
let
vec
:
Vec
<
Value
>
=
Vec
::
new
();
vec
.
last
().
map
(
f
);
}