diff options
Diffstat (limited to 'tests/ui/privacy/private-method-inherited.rs')
| -rw-r--r-- | tests/ui/privacy/private-method-inherited.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/privacy/private-method-inherited.rs b/tests/ui/privacy/private-method-inherited.rs index 2f6454288ae..bc27027e886 100644 --- a/tests/ui/privacy/private-method-inherited.rs +++ b/tests/ui/privacy/private-method-inherited.rs @@ -10,5 +10,5 @@ mod a { fn main() { let x = a::Foo; - x.f(); //~ ERROR associated function `f` is private + x.f(); //~ ERROR method `f` is private }  | 
