summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/defaults/param-order-err-pretty-prints-default.rs
blob: f928fc9e75b739c72998facdf78476267c54884b (plain)
1
2
3
4
struct Foo<const M: usize = 10, 'a>(&'a u32);
//~^ ERROR lifetime parameters must be declared prior to type and const parameters

fn main() {}