]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0599]: no method named `the_fn` found for type `&Lib::TheStruct` in the current scope |
0731742a | 2 | --> $DIR/coherence_inherent.rs:35:11 |
8faf50e0 | 3 | | |
0731742a | 4 | LL | s.the_fn(); |
e1599b0c | 5 | | ^^^^^^ method not found in `&Lib::TheStruct` |
8faf50e0 XL |
6 | | |
7 | = help: items from traits can only be used if the trait is in scope | |
e74abb32 | 8 | = note: the following trait is implemented but not in scope; perhaps add a `use` for it: |
b7449926 | 9 | `use Lib::TheTrait;` |
8faf50e0 XL |
10 | |
11 | error: aborting due to previous error | |
12 | ||
13 | For more information about this error, try `rustc --explain E0599`. |