rust/src/test/compile-fail/issue-3477.rs

4 lines
92 B
Rust

fn main() {
let _p: char = 100; //~ ERROR mismatched types: expected `char` but found
}