fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1warning: unnecessary parentheses around function argument 2 --> $DIR/try-block-unused-delims.rs:10:13 3 | 4LL | consume((try {})); 5 | ^^^^^^^^ help: remove these parentheses 6 | 7note: the lint level is defined here 8 --> $DIR/try-block-unused-delims.rs:5:9 9 | 10LL | #![warn(unused_parens, unused_braces)] 11 | ^^^^^^^^^^^^^ 12 13warning: unnecessary braces around function argument 14 --> $DIR/try-block-unused-delims.rs:13:13 15 | 16LL | consume({ try {} }); 17 | ^^^^^^^^^^ help: remove these braces 18 | 19note: the lint level is defined here 20 --> $DIR/try-block-unused-delims.rs:5:24 21 | 22LL | #![warn(unused_parens, unused_braces)] 23 | ^^^^^^^^^^^^^ 24 25warning: unnecessary parentheses around `match` scrutinee expression 26 --> $DIR/try-block-unused-delims.rs:16:11 27 | 28LL | match (try {}) { 29 | ^^^^^^^^ help: remove these parentheses 30 31warning: unnecessary parentheses around `let` scrutinee expression 32 --> $DIR/try-block-unused-delims.rs:21:22 33 | 34LL | if let Err(()) = (try {}) {} 35 | ^^^^^^^^ help: remove these parentheses 36 37warning: unnecessary parentheses around `match` scrutinee expression 38 --> $DIR/try-block-unused-delims.rs:24:11 39 | 40LL | match (try {}) { 41 | ^^^^^^^^ help: remove these parentheses 42 43warning: 5 warnings emitted 44