This website requires JavaScript.
Explore
Help
Sign In
dnrops
/
rust
mirror of
https://github.com/rust-lang/rust.git
Watch
1
Star
0
Fork
You've already forked rust
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
master
rust
/
tests
/
ui
/
closures
/
coerce-unsafe-to-closure.rs
5 lines
100 B
Rust
Raw
Permalink
Blame
History
fn
main
(
)
{
let
x
:
Option
<
&
[
u8
]
>
=
Some
(
"
foo
"
)
.
map
(
std
::
mem
::
transmute
)
;
//~^ ERROR E0277
}
Reference in New Issue
View Git Blame
Copy Permalink