Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
issues
/
issue-17551.rs
blob: a65957ce074efa11b6df24df5a8d3883e7c09d6b [
file
] [
log
] [
blame
]
use
std
::
marker
;
struct
B
<
T
>(
marker
::
PhantomData
<
T
>);
fn
main
()
{
let
foo
=
B
(
marker
::
PhantomData
);
//~ ERROR type annotations needed
let
closure
=
||
foo
;
}