Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
cast
/
cast-to-nil.rs
blob: 085bb09e631db64550c770a93e3ac0a80bd6f312 [
file
] [
log
] [
blame
]
// error-pattern: non-primitive cast: `u32` as `()`
fn
main
()
{
let
u
=
0u32
as
();
}