fork/rust

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

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

master
680 B26 linesraw
1warning: `Umm` held across a suspend point, but should not be
2  --> $DIR/warn.rs:21: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/warn.rs:21: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/warn.rs:21:9
16   |
17LL |     let guard = bar();
18   |         ^^^^^
19note: the lint level is defined here
20  --> $DIR/warn.rs:4:9
21   |
22LL | #![warn(must_not_suspend)]
23   |         ^^^^^^^^^^^^^^^^
24
25warning: 1 warning emitted
26