]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-10465.stderr
Merge commit '4a053f206fd6799a25823c307f7d7f9d897be118' into sync-rustfmt-subtree
[rust.git] / src / test / ui / issues / issue-10465.stderr
1 error[E0599]: no method named `foo` found for reference `&B` in the current scope
2   --> $DIR/issue-10465.rs:17:15
3    |
4 LL |             b.foo();
5    |               ^^^ method not found in `&B`
6    |
7    = help: items from traits can only be used if the trait is in scope
8 help: the following trait is implemented but not in scope; perhaps add a `use` for it:
9    |
10 LL |         use a::A;
11    |
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0599`.