Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
closures
/
coerce-unsafe-to-closure.rs
blob: 78bdd36f9cc3ae50621c43da8b7409c43cb6c6d5 [
file
] [
log
] [
blame
] [
edit
]
fn
main
()
{
let
x
:
Option
<&[
u8
]>
=
Some
(
"foo"
).
map
(
std
::
mem
::
transmute
);
//~^ ERROR E0277
}