rust/tests/ui/privacy/ufc-method-call.same_name.stderr
2024-06-04 15:34:04 +00:00

13 lines
395 B
Plaintext

error[E0624]: associated function `foo` is private
--> $DIR/ufc-method-call.rs:27:27
|
LL | fn foo() {}
| -------- private associated function defined here
...
LL | test::Foo::<test::B>::foo();
| ^^^ private associated function
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0624`.