This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
a20078f044
rust
/
tests
/
ui
/
cast
/
cast-to-nil.rs
3 lines
86 B
Rust
Raw
Normal View
History
Unescape
Escape
wording improvement
2017-06-09 15:04:29 -05:00
// error-pattern: non-primitive cast: `u32` as `()`
librustc: Replace `impl Type : Trait` with `impl Trait for Type`. rs=implflipping
2013-02-14 13:47:00 -06:00
fn
main
(
)
{
let
u
=
0
u32
as
(
)
;
}
Reference in New Issue
Copy Permalink