about summary refs log tree commit diff
path: root/tests/ui/privacy/ufc-method-call.same_name.stderr
blob: 194ba42cbf9857d5f534e69912ef7e6a125cb8f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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`.