#![feature(const_generics_defaults)] struct Foo; impl Foo {} //~^ ERROR defaults for const parameters are only allowed fn main() {}