1 error[E0658]: specialization is unstable
2 --> $DIR/specialization-feature-gate-default.rs:10:5
4 LL | default fn foo(&self) {}
5 | ^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
8 = help: add `#![feature(specialization)]` to the crate attributes to enable
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0658`.