1 error[E0599]: no method named `foo_one` found for struct `MyStruct` in the current scope
2 --> $DIR/specialization-trait-not-implemented.rs:22:29
7 | method `foo_one` not found for this
8 | doesn't satisfy `MyStruct: Foo`
10 LL | println!("{}", MyStruct.foo_one());
11 | ^^^^^^^ method not found in `MyStruct`
13 = note: the method `foo_one` exists but the following trait bounds were not satisfied:
15 = help: items from traits can only be used if the trait is implemented and in scope
16 note: `Foo` defines an item `foo_one`, perhaps you need to implement it
17 --> $DIR/specialization-trait-not-implemented.rs:7:1
22 error: aborting due to previous error
24 For more information about this error, try `rustc --explain E0599`.