]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issues/issue-14303-path.rs
Rollup merge of #92399 - Veeupup:fix_vec_typo, r=Dylan-DPC
[rust.git] / src / test / ui / parser / issues / 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 type provided when a lifetime was expected
12
13 fn main() {}