summaryrefslogtreecommitdiffstats
path: root/tests/ui/privacy/private-method.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/privacy/private-method.stderr')
-rw-r--r--tests/ui/privacy/private-method.stderr6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/privacy/private-method.stderr b/tests/ui/privacy/private-method.stderr
index 17c7179dc..42fec7622 100644
--- a/tests/ui/privacy/private-method.stderr
+++ b/tests/ui/privacy/private-method.stderr
@@ -1,11 +1,11 @@
-error[E0624]: associated function `nap` is private
+error[E0624]: method `nap` is private
--> $DIR/private-method.rs:22:8
|
LL | fn nap(&self) {}
- | ------------- private associated function defined here
+ | ------------- private method defined here
...
LL | nyan.nap();
- | ^^^ private associated function
+ | ^^^ private method
error: aborting due to previous error