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
5 | --------- this trait defines an item `foo_one`
10 | method `foo_one` not found for this
11 | this type doesn't satisfy the bound `Foo`
13 LL | println!("{}", MyStruct.foo_one());
14 | ^^^^^^^ method not found in `MyStruct`
16 = note: the method `foo_one` exists but the following trait bounds were not satisfied:
18 = help: items from traits can only be used if the trait is implemented and in scope
20 error: aborting due to previous error
22 For more information about this error, try `rustc --explain E0599`.