]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/defaults/param-order-err-pretty-prints-default.rs
Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt
[rust.git] / tests / ui / const-generics / defaults / param-order-err-pretty-prints-default.rs
1 struct Foo<const M: usize = 10, 'a>(&'a u32);
2 //~^ ERROR lifetime parameters must be declared prior to type and const parameters
3
4 fn main() {}