]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/lifetime-semicolon.rs
Merge commit '63734fcdd718cca089f84c42f3a42c0096cfd431' into sync_cg_clif-2022-05-15
[rust.git] / src / test / ui / parser / lifetime-semicolon.rs
1 // run-rustfix
2 #![allow(unused)]
3 struct Foo<'a, 'b> {
4     a: &'a &'b i32
5 }
6
7 fn foo<'a, 'b>(_x: &mut Foo<'a; 'b>) {}
8 //~^ ERROR expected one of `,`, `:`, `=`, or `>`, found `;`
9
10 fn main() {}