blob: 386d19859e4a83d6a6055ee2e295f4d6023df6cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
mod foo {
pub struct X<'a, 'b, 'c, T> {
a: &'a str,
b: &'b str,
c: &'c str,
t: T,
}
}
fn bar<'a, 'b, 'c, T>(x: foo::X<'a, T, 'b, 'c>) {}
//~^ ERROR lifetime arguments must be declared prior to type arguments
fn main() {}
|