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