This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-01-24 05:33:41 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
df227f78c6
rust
/
tests
/
ui
/
cast
/
cast-from-nil.rs
3 lines
98 B
Rust
Raw
Normal View
History
Unescape
Escape
wording improvement
2017-06-09 20:04:29 +00:00
// error-pattern: non-primitive cast: `()` as `u32`
librustc: Remove `fail_unless!`
2013-03-29 01:39:09 +00:00
fn
main
(
)
{
let
u
=
(
assert!
(
true
)
as
u32
)
;
}
Reference in New Issue
Copy Permalink