fn main() {
let _ = xc_private_method_lib::Struct{ x: 10 }.meth_struct();
- //~^ ERROR associated function `meth_struct` is private
+ //~^ ERROR method `meth_struct` is private
let _ = xc_private_method_lib::Enum::Variant1(20).meth_enum();
- //~^ ERROR associated function `meth_enum` is private
+ //~^ ERROR method `meth_enum` is private
}