mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
9 lines
305 B
Rust
9 lines
305 B
Rust
// run-rustfix
|
|
#[allow(unused_parens)]
|
|
fn main() {
|
|
let _ = 1; //~ ERROR leading `+` is not supported
|
|
let _ = (1.0 + 2.0) * 3.0; //~ ERROR leading `+` is not supported
|
|
//~| ERROR leading `+` is not supported
|
|
let _ = [3, 4+6]; //~ ERROR leading `+` is not supported
|
|
}
|