1 error[E0599]: no method named `c` found for reference `&dyn Bar` in the current scope
2 --> $DIR/subtrait-method.rs:37:9
5 | ^ help: there is an associated function with a similar name: `a`
7 = help: items from traits can only be used if the trait is implemented and in scope
8 note: `Baz` defines an item `c`, perhaps you need to implement it
9 --> $DIR/subtrait-method.rs:17:1
14 error[E0599]: no method named `b` found for reference `&dyn Foo` in the current scope
15 --> $DIR/subtrait-method.rs:41:9
18 | ^ help: there is an associated function with a similar name: `a`
20 = help: items from traits can only be used if the trait is implemented and in scope
21 note: `Bar` defines an item `b`, perhaps you need to implement it
22 --> $DIR/subtrait-method.rs:11:1
27 error[E0599]: no method named `c` found for reference `&dyn Foo` in the current scope
28 --> $DIR/subtrait-method.rs:43:9
31 | ^ help: there is an associated function with a similar name: `a`
33 = help: items from traits can only be used if the trait is implemented and in scope
34 note: `Baz` defines an item `c`, perhaps you need to implement it
35 --> $DIR/subtrait-method.rs:17:1
40 error[E0599]: no method named `b` found for reference `&dyn Foo` in the current scope
41 --> $DIR/subtrait-method.rs:47:9
44 | ^ help: there is an associated function with a similar name: `a`
46 = help: items from traits can only be used if the trait is implemented and in scope
47 note: `Bar` defines an item `b`, perhaps you need to implement it
48 --> $DIR/subtrait-method.rs:11:1
53 error[E0599]: no method named `c` found for reference `&dyn Foo` in the current scope
54 --> $DIR/subtrait-method.rs:49:9
57 | ^ help: there is an associated function with a similar name: `a`
59 = help: items from traits can only be used if the trait is implemented and in scope
60 note: `Baz` defines an item `c`, perhaps you need to implement it
61 --> $DIR/subtrait-method.rs:17:1
66 error: aborting due to 5 previous errors
68 For more information about this error, try `rustc --explain E0599`.