]> git.proxmox.com Git - rustc.git/blob - src/test/ui/lint/must_not_suspend/dedup.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / lint / must_not_suspend / dedup.stderr
1 error: `No` held across a suspend point, but should not be
2 --> $DIR/dedup.rs:16:13
3 |
4 LL | wheeee(&No {}).await;
5 | ^^^^^ ------ the value is held across this suspend point
6 |
7 help: consider using a block (`{ ... }`) to shrink the value's scope, ending before the suspend point
8 --> $DIR/dedup.rs:16:13
9 |
10 LL | wheeee(&No {}).await;
11 | ^^^^^
12 note: the lint level is defined here
13 --> $DIR/dedup.rs:3:9
14 |
15 LL | #![deny(must_not_suspend)]
16 | ^^^^^^^^^^^^^^^^
17
18 error: aborting due to previous error
19