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
10b08e3c9c
rust
/
tests
/
ui
/
cast
/
cast-from-nil.rs
3 lines
98 B
Rust
Raw
Normal View
History
Unescape
Escape
wording improvement
2017-06-09 15:04:29 -05:00
// error-pattern: non-primitive cast: `()` as `u32`
librustc: Remove `fail_unless!`
2013-03-28 20:39:09 -05:00
fn
main
(
)
{
let
u
=
(
assert!
(
true
)
as
u32
)
;
}
Reference in New Issue
Copy Permalink