]>
Commit | Line | Data |
---|---|---|
72b1a166 | 1 | error[E0599]: no method named `foo` found for reference `&B` in the current scope |
0731742a | 2 | --> $DIR/issue-10465.rs:17:15 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | b.foo(); |
72b1a166 | 5 | | ^^^ method not found in `&B` |
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: |
8faf50e0 XL |
9 | `use a::A;` |
10 | ||
11 | error: aborting due to previous error | |
12 | ||
13 | For more information about this error, try `rustc --explain E0599`. |