blob: c3b3392cfc495ab6ac5289efc3a5808c7661d0ad (
plain)
1
2
3
4
5
6
7
8
|
warning: unnecessary parentheses around assigned value
--> $DIR/issue-54752-async-block.rs:6:22
|
LL | fn main() { let _a = (async { }); }
| ^^^^^^^^^^^^ help: remove these parentheses
|
= note: `#[warn(unused_parens)]` on by default
|