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