summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/impl-generic-mismatch-ab.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/impl-trait/impl-generic-mismatch-ab.stderr (renamed from src/test/ui/impl-trait/impl-generic-mismatch-ab.stderr)4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/impl-trait/impl-generic-mismatch-ab.stderr b/tests/ui/impl-trait/impl-generic-mismatch-ab.stderr
index acf768d57..db97fc2bd 100644
--- a/src/test/ui/impl-trait/impl-generic-mismatch-ab.stderr
+++ b/tests/ui/impl-trait/impl-generic-mismatch-ab.stderr
@@ -13,8 +13,8 @@ note: type in trait
|
LL | fn foo<A: Debug>(&self, a: &A, b: &impl Debug);
| ^^
- = note: expected fn pointer `fn(&(), &B, &impl Debug)`
- found fn pointer `fn(&(), &impl Debug, &B)`
+ = note: expected signature `fn(&(), &B, &impl Debug)`
+ found signature `fn(&(), &impl Debug, &B)`
= note: a type parameter was expected, but a different one was found; you might be missing a type parameter or trait bound
= note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters