fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: `Umm` held across a suspend point, but should not be 2 --> $DIR/unit.rs:20:9 3 | 4LL | let _guard = bar(); 5 | ^^^^^^ 6LL | other().await; 7 | ----- the value is held across this suspend point 8 | 9note: You gotta use Umm's, ya know? 10 --> $DIR/unit.rs:20:9 11 | 12LL | let _guard = bar(); 13 | ^^^^^^ 14help: consider using a block (`{ ... }`) to shrink the value's scope, ending before the suspend point 15 --> $DIR/unit.rs:20:9 16 | 17LL | let _guard = bar(); 18 | ^^^^^^ 19note: the lint level is defined here 20 --> $DIR/unit.rs:3:9 21 | 22LL | #![deny(must_not_suspend)] 23 | ^^^^^^^^^^^^^^^^ 24 25error: aborting due to previous error 26