]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/issues/issue-54752-async-block.stderr
Rollup merge of #71627 - ldm0:autoderefarg, r=Dylan-DPC
[rust.git] / src / test / ui / async-await / issues / issue-54752-async-block.stderr
1 warning: unnecessary parentheses around assigned value
2   --> $DIR/issue-54752-async-block.rs:6:22
3    |
4 LL | fn main() { let _a = (async  { }); }
5    |                      ^^^^^^^^^^^^ help: remove these parentheses
6    |
7    = note: `#[warn(unused_parens)]` on by default
8
9 warning: 1 warning emitted
10