summaryrefslogtreecommitdiffstats
path: root/src/test/ui/async-await/issues/issue-54752-async-block.stderr
blob: 8cc849dd985443c0b50fa629a1c168ec7a68051c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
warning: unnecessary parentheses around assigned value
  --> $DIR/issue-54752-async-block.rs:6:22
   |
LL | fn main() { let _a = (async { }); }
   |                      ^         ^
   |
   = note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
   |
LL - fn main() { let _a = (async { }); }
LL + fn main() { let _a = async { }; }
   |

warning: 1 warning emitted