65839fa622
For example, in let x: char = 42; This was an ICE and is now a proper type error, as per #3477
3 lines
91 B
Rust
3 lines
91 B
Rust
fn main() {
|
|
let _p: char = 100; //~ ERROR mismatched types: expected `char` but found
|
|
} |