]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-14303-path.rs
Move generic arg / param validation to `create_substs_for_generic_args`
[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 type provided when a lifetime was expected
12
13 fn main() {}