summaryrefslogtreecommitdiffstats
path: root/tests/ui/privacy/private-method-cross-crate.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/privacy/private-method-cross-crate.rs')
-rw-r--r--tests/ui/privacy/private-method-cross-crate.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/privacy/private-method-cross-crate.rs b/tests/ui/privacy/private-method-cross-crate.rs
index ab3bbdfe4..4da44e068 100644
--- a/tests/ui/privacy/private-method-cross-crate.rs
+++ b/tests/ui/privacy/private-method-cross-crate.rs
@@ -4,5 +4,5 @@ use cci_class_5::kitties::cat;
fn main() {
let nyan : cat = cat(52, 99);
- nyan.nap(); //~ ERROR associated function `nap` is private
+ nyan.nap(); //~ ERROR method `nap` is private
}