fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
305 B8 linesraw
1// run-rustfix
2#[allow(unused_parens)]
3fn main() {
4    let _ = 1; //~ ERROR leading `+` is not supported
5    let _ = (1.0 + 2.0) * 3.0; //~ ERROR leading `+` is not supported
6                           //~| ERROR leading `+` is not supported
7    let _ = [3, 4+6]; //~ ERROR leading `+` is not supported
8}