// Checks that lifetimes cannot be interspersed between consts and types. // revisions: full min #![feature(const_generics_defaults)] struct Foo(&'a (), T); //~^ Error lifetime parameters must be declared prior to const parameters struct Bar(&'a (), T); //~^ Error lifetime parameters must be declared prior to type parameters fn main() {}