fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unnecessary parentheses around match arm expression 2 --> $DIR/issue-92751.rs:4:21 3 | 4LL | Some(()) => (1), 5 | ^ ^ 6 | 7note: the lint level is defined here 8 --> $DIR/issue-92751.rs:1:8 9 | 10LL | #[deny(unused)] 11 | ^^^^^^ 12 = note: `#[deny(unused_parens)]` implied by `#[deny(unused)]` 13help: remove these parentheses 14 | 15LL - Some(()) => (1), 16LL + Some(()) => 1, 17 | 18 19error: unnecessary parentheses around match arm expression 20 --> $DIR/issue-92751.rs:5:17 21 | 22LL | None => (2), 23 | ^ ^ 24 | 25help: remove these parentheses 26 | 27LL - None => (2), 28LL + None => 2, 29 | 30 31error: aborting due to 2 previous errors 32