fork/rust

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

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

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