summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/must_not_suspend/trait.no_drop_tracking.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/lint/must_not_suspend/trait.no_drop_tracking.stderr')
-rw-r--r--tests/ui/lint/must_not_suspend/trait.no_drop_tracking.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/lint/must_not_suspend/trait.no_drop_tracking.stderr b/tests/ui/lint/must_not_suspend/trait.no_drop_tracking.stderr
index 6e62a228a..8c8ad1f37 100644
--- a/tests/ui/lint/must_not_suspend/trait.no_drop_tracking.stderr
+++ b/tests/ui/lint/must_not_suspend/trait.no_drop_tracking.stderr
@@ -5,7 +5,7 @@ LL | let _guard1 = r#impl();
| ^^^^^^^
...
LL | other().await;
- | ------ the value is held across this suspend point
+ | ----- the value is held across this suspend point
|
help: consider using a block (`{ ... }`) to shrink the value's scope, ending before the suspend point
--> $DIR/trait.rs:24:9
@@ -25,7 +25,7 @@ LL | let _guard2 = r#dyn();
| ^^^^^^^
LL |
LL | other().await;
- | ------ the value is held across this suspend point
+ | ----- the value is held across this suspend point
|
help: consider using a block (`{ ... }`) to shrink the value's scope, ending before the suspend point
--> $DIR/trait.rs:25:9