blob: 84873c2ecf4ce4c2d3272f6f6d13c143d2fbc99b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//@ check-pass
pub struct S<'a, 'e>(&'a str, &'e str);
pub type T<'a, 'e> = std::collections::HashMap<S<'a, 'e>, ()>;
impl<'e, 'a: 'e> S<'a, 'e> {
pub fn foo(_a: &str, _b: &str, _map: &T) {}
}
fn main() {}
|