This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ error: an async construct yields a type which is itself awaitable
33 |
44LL | let _h = async {
55 | _____________________-
6- LL | | async {
7- | | _________^
6+ LL | |/ async {
87LL | || 3
98LL | || }
109 | ||_________^ awaitable value not awaited
@@ -37,8 +36,7 @@ error: an async construct yields a type which is itself awaitable
3736 |
3837LL | let _j = async || {
3938 | ________________________-
40- LL | | async {
41- | | _________^
39+ LL | |/ async {
4240LL | || 3
4341LL | || }
4442 | ||_________^ awaitable value not awaited
Original file line number Diff line number Diff line change @@ -19,10 +19,7 @@ LL | x.field.map(|value| if value > 0 { do_nothing(value); do_nothing(value)
1919error: called `map(f)` on an `Result` value where `f` is a closure that returns the unit type `()`
2020 --> $DIR/result_map_unit_fn_unfixable.rs:29:5
2121 |
22- LL | x.field.map(|value| {
23- | ______^
24- | | _____|
25- | ||
22+ LL | // x.field.map(|value| {
2623LL | || do_nothing(value);
2724LL | || do_nothing(value)
2825LL | || });
You can’t perform that action at this time.
0 commit comments