summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/async-unsafe-fn-call-in-safe.mir.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/async-await/async-unsafe-fn-call-in-safe.mir.stderr')
-rw-r--r--tests/ui/async-await/async-unsafe-fn-call-in-safe.mir.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/async-await/async-unsafe-fn-call-in-safe.mir.stderr b/tests/ui/async-await/async-unsafe-fn-call-in-safe.mir.stderr
index 2114fb59b..f9e5bf675 100644
--- a/tests/ui/async-await/async-unsafe-fn-call-in-safe.mir.stderr
+++ b/tests/ui/async-await/async-unsafe-fn-call-in-safe.mir.stderr
@@ -23,7 +23,7 @@ LL | S::f();
= note: consult the function's documentation for information on how to avoid undefined behavior
error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
- --> $DIR/async-unsafe-fn-call-in-safe.rs:24:5
+ --> $DIR/async-unsafe-fn-call-in-safe.rs:26:5
|
LL | f();
| ^^^ call to unsafe function