diff options
Diffstat (limited to 'tests/ui/issues/issue-21202.rs')
-rw-r--r-- | tests/ui/issues/issue-21202.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/issues/issue-21202.rs b/tests/ui/issues/issue-21202.rs index f62de7ce7..2c5f13944 100644 --- a/tests/ui/issues/issue-21202.rs +++ b/tests/ui/issues/issue-21202.rs @@ -8,7 +8,7 @@ mod B { use crate1::A::Foo; fn bar(f: Foo) { Foo::foo(&f); - //~^ ERROR: associated function `foo` is private + //~^ ERROR: method `foo` is private } } |