summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/lifetime-semicolon.fixed
blob: 482b7704695c371ef705df2b891ae9cabf98b9e7 (plain)
1
2
3
4
5
6
7
8
9
10
// run-rustfix
#![allow(unused)]
struct Foo<'a, 'b> {
    a: &'a &'b i32
}

fn foo<'a, 'b>(_x: &mut Foo<'a, 'b>) {}
//~^ ERROR expected one of `,` or `>`, found `;`

fn main() {}