1 error[E0658]: specialization is unstable (see issue #31844)
2 --> $DIR/specialization-feature-gate-default.rs:20:5
4 LL | default fn foo(&self) {} //~ ERROR specialization is unstable
5 | ^^^^^^^^^^^^^^^^^^^^^^^^
7 = help: add #![feature(specialization)] to the crate attributes to enable
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0658`.