mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
16 lines
176 B
Rust
16 lines
176 B
Rust
fn f() -> f32 {
|
|
3
|
|
//~^ ERROR expected `;`
|
|
5.0
|
|
}
|
|
|
|
fn k() -> f32 {
|
|
2_u32
|
|
//~^ ERROR expected `;`
|
|
3_i8
|
|
//~^ ERROR expected `;`
|
|
5.0
|
|
}
|
|
|
|
fn main() {}
|