Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
compile-fail
/
coerce-unsafe-to-closure.rs
blob: 78bdd36f9cc3ae50621c43da8b7409c43cb6c6d5 [
file
] [
log
] [
blame
]
fn
main
()
{
let
x
:
Option
<&[
u8
]>
=
Some
(
"foo"
).
map
(
std
::
mem
::
transmute
);
//~^ ERROR E0277
}