mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-28 14:03:21 +00:00
9 lines
198 B
Rust
9 lines
198 B
Rust
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() {}
|