error: type parameters must be declared prior to const parameters --> $DIR/needs-feature.rs:10:26 | LL | struct A(T); | -----------------^----- help: reorder the parameters: lifetimes, then types: `` error[E0658]: const generics are unstable --> $DIR/needs-feature.rs:10:16 | LL | struct A(T); | ^ | = note: see issue #74878 for more information = help: add `#![feature(min_const_generics)]` to the crate attributes to enable error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0658`.