#![feature(const_generics)] //~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash fn foo(_: &T) { //~^ ERROR type parameters must be declared prior to const parameters } fn bar(_: &'a ()) { //~^ ERROR lifetime parameters must be declared prior to const parameters } fn main() {}