summaryrefslogtreecommitdiffstats
path: root/tests/ui/generics/issue-80512-param-reordering-with-defaults.rs
blob: 0e208818ed4593f6094221db58e3c53f6d339d5e (plain)
1
2
3
4
#![crate_type = "lib"]

struct S<T = (), 'a>(&'a T);
//~^ ERROR lifetime parameters must be declared prior to type and const parameters