Files
rust/tests/ui/cast/cast-to-nil.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

2 lines
78 B
Rust
Raw Normal View History

fn main() { let u = 0u32 as (); } //~ ERROR non-primitive cast: `u32` as `()`