]> git.lizzy.rs Git - rust.git/blob - tests/ui/generics/issue-80512-param-reordering-with-defaults.rs
Rollup merge of #104965 - zacklukem:p-option-as_ref-docs, r=scottmcm
[rust.git] / tests / ui / generics / issue-80512-param-reordering-with-defaults.rs
1 #![crate_type = "lib"]
2
3 struct S<T = (), 'a>(&'a T);
4 //~^ ERROR lifetime parameters must be declared prior to type and const parameters