1 warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/specialization-trait-item-not-implemented.rs:3:12
4 LL | #![feature(specialization)]
7 = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
8 = help: consider using `min_specialization` instead, which is more stable and complete
9 = note: `#[warn(incomplete_features)]` on by default
11 error[E0046]: not all trait items implemented, missing: `foo_two`
12 --> $DIR/specialization-trait-item-not-implemented.rs:18:1
14 LL | fn foo_two(&self) -> &'static str;
15 | ---------------------------------- `foo_two` from trait
17 LL | impl Foo for MyStruct {}
18 | ^^^^^^^^^^^^^^^^^^^^^ missing `foo_two` in implementation
20 error: aborting due to previous error; 1 warning emitted
22 For more information about this error, try `rustc --explain E0046`.