// Check that specialization must be ungated to use the `default` keyword trait Foo { fn foo(&self); } default impl Foo for T { //~ ERROR specialization is unstable fn foo(&self) {} } fn main() {}