index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
test
/
compile-fail
/
cast-from-nil.rs
blob: a76df00d0d53746722b365e938cd1dcd883d061f (
plain
)
1
2
// error-pattern: cast from nil: () as u32 fn main() { let u = (assert true) as u32; }