summaryrefslogtreecommitdiffstats
path: root/tests/ui/extern
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/extern')
-rw-r--r--tests/ui/extern/extern-types-distinct-types.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/extern/extern-types-distinct-types.stderr b/tests/ui/extern/extern-types-distinct-types.stderr
index ca25aa64e..3e6dc5cef 100644
--- a/tests/ui/extern/extern-types-distinct-types.stderr
+++ b/tests/ui/extern/extern-types-distinct-types.stderr
@@ -9,7 +9,7 @@ LL | type B;
LL | fn foo(r: &A) -> &B {
| -- expected `&B` because of return type
LL | r
- | ^ expected extern type `B`, found extern type `A`
+ | ^ expected `&B`, found `&A`
|
= note: expected reference `&B`
found reference `&A`