]>
Commit | Line | Data |
---|---|---|
3b2f2976 | 1 | error[E0624]: method `method` is private |
0731742a | 2 | --> $DIR/trait-method-private.rs:19:9 |
3b2f2976 | 3 | | |
532ac7d7 | 4 | LL | foo.method(); |
3b2f2976 XL |
5 | | ^^^^^^ |
6 | | | |
7 | = help: items from traits can only be used if the trait is in scope | |
e74abb32 | 8 | help: the following trait is implemented but not in scope; perhaps add a `use` for it: |
ff7c6d11 | 9 | | |
0531ce1d | 10 | LL | use inner::Bar; |
ff7c6d11 | 11 | | |
3b2f2976 XL |
12 | |
13 | error: aborting due to previous error | |
14 | ||
0531ce1d | 15 | For more information about this error, try `rustc --explain E0624`. |