rust/tests/ui/async-await/issues/issue-54752-async-block.stderr

16 lines
387 B
Plaintext
Raw Normal View History

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 { }; }
2022-06-08 12:34:57 -05:00
|
warning: 1 warning emitted