about summary refs log tree commit diff
path: root/src/test/ui/methods/method-resolvable-path-in-pattern.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/methods/method-resolvable-path-in-pattern.stderr')
-rw-r--r--src/test/ui/methods/method-resolvable-path-in-pattern.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/methods/method-resolvable-path-in-pattern.stderr b/src/test/ui/methods/method-resolvable-path-in-pattern.stderr
index 4b25b694e13..7c454a9a777 100644
--- a/src/test/ui/methods/method-resolvable-path-in-pattern.stderr
+++ b/src/test/ui/methods/method-resolvable-path-in-pattern.stderr
@@ -1,4 +1,4 @@
-error[E0532]: expected unit struct, unit variant or constant, found method `MyTrait::trait_bar`
+error[E0532]: expected unit struct, unit variant or constant, found associated function `MyTrait::trait_bar`
   --> $DIR/method-resolvable-path-in-pattern.rs:11:9
    |
 LL |         <Foo as MyTrait>::trait_bar => {}