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