summary refs log tree commit diff
path: root/src/test/ui/parser/lifetime-semicolon.fixed
blob: 89e87fe99885e1a545b40bc9582e6a1b10e5d7d1 (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() {}