ef833d4101
This allows more errors to be non-fatal, as per #1871. I only went through and started changing span_fatal to span_err in check.rs. There are probably more errors that could be made non-fatal. So if you see derived type errors appearing from now on, file a bug! r=graydon Closes #1871
2 lines
78 B
Rust
2 lines
78 B
Rust
// error-pattern: cast to nil: `u32` as `()`
|
|
fn main() { let u = 0u32 as (); } |