summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issues/issue-14303-struct.rs
blob: 0bd10b4d08516e1eb2dc9b9909254903318c769e (plain)
1
2
3
4
5
6
struct X<'a, T, 'b> {
//~^ ERROR lifetime parameters must be declared prior to type parameters
    x: &'a &'b T
}

fn main() {}