6 lines
110 B
Rust
6 lines
110 B
Rust
|
fn main() {
|
||
|
let x: f32 = 1; //~ ERROR mismatched types
|
||
|
let y: f32 = 1f; //~ ERROR mismatched types
|
||
|
}
|
||
|
|