fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
705 B26 linesraw
1error: boxed `Umm` held across a suspend point, but should not be
2  --> $DIR/boxed.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/boxed.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/boxed.rs:20:9
16   |
17LL |     let _guard = bar();
18   |         ^^^^^^
19note: the lint level is defined here
20  --> $DIR/boxed.rs:3:9
21   |
22LL | #![deny(must_not_suspend)]
23   |         ^^^^^^^^^^^^^^^^
24
25error: aborting due to previous error
26