]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/lifetime-semicolon.fixed
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / ui / parser / lifetime-semicolon.fixed
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() {}