Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
error-codes
/
E0512.rs
blob: e70992aee23a4128d9b1f131728ce8efa68cdf20 [
file
] [
log
] [
blame
]
fn
takes_u8
(
_
:
u8
)
{}
fn
main
()
{
unsafe
{
takes_u8
(::
std
::
mem
::
transmute
(
0u16
));
}
//~ ERROR E0512
}