summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-23041.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-23041.stderr')
-rw-r--r--tests/ui/issues/issue-23041.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/issues/issue-23041.stderr b/tests/ui/issues/issue-23041.stderr
index 6592b76a3..4271c67c3 100644
--- a/tests/ui/issues/issue-23041.stderr
+++ b/tests/ui/issues/issue-23041.stderr
@@ -2,7 +2,7 @@ error[E0282]: type annotations needed
--> $DIR/issue-23041.rs:6:7
|
LL | b.downcast_ref::<fn(_)->_>();
- | ^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the associated function `downcast_ref`
+ | ^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the method `downcast_ref`
|
help: consider specifying the generic argument
|