]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-14303-path.rs
Rollup merge of #57693 - king6cong:word, r=Centril
[rust.git] / src / test / ui / parser / issue-14303-path.rs
1 mod foo {
2     pub struct X<'a, 'b, 'c, T> {
3         a: &'a str,
4         b: &'b str,
5         c: &'c str,
6         t: T,
7     }
8 }
9
10 fn bar<'a, 'b, 'c, T>(x: foo::X<'a, T, 'b, 'c>) {}
11 //~^ ERROR lifetime arguments must be declared prior to type arguments
12
13 fn main() {}