Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-42880.rs
blob: b61ba80e27abdb24abf38b2fada4df8b0f0958ba [
file
] [
log
] [
blame
] [
edit
]
type
Value
=
String
;
fn
main
()
{
let
f
=
|&
Value
::
String
(
_
)|
();
//~ ERROR no associated item named
let
vec
:
Vec
<
Value
>
=
Vec
::
new
();
vec
.
last
().
map
(
f
);
}