// Checks that lifetimes cannot be interspersed between consts and types. struct Foo(&'a (), T); //~^ ERROR lifetime parameters must be declared prior to type and const parameters struct Bar(&'a (), T); //~^ ERROR lifetime parameters must be declared prior to type and const parameters fn main() {}