about summary refs log tree commit diff
path: root/tests/ui/privacy/privacy-ufcs.stderr
blob: 0608c06e8a4367cc09e35599ff998609dda08172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error[E0603]: trait `Bar` is private
  --> $DIR/privacy-ufcs.rs:12:25
   |
LL |     <i32 as crate::foo::Bar>::baz();
   |                         ^^^   --- associated function `baz` is not publicly re-exported
   |                         |
   |                         private trait
   |
note: the trait `Bar` is defined here
  --> $DIR/privacy-ufcs.rs:4:5
   |
LL |     trait Bar {
   |     ^^^^^^^^^

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0603`.