mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +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() {}
|