mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +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() {}
|