fork/rust

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

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

master
580 B22 linesraw
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