error: no method named `raw` found for type `B` in the current scope
--> prog.rs:12:17
|
12 | a.raw() + b.raw()
| ^^^
|
= help: items from traits can only be used if the trait is implemented and in scope; the following trait defines an item `raw`, perhaps you need to implement it:
= help: candidate #1: `SuperTrait`
error: aborting due to previous error