rust-clippy/tests/ui/crashes/ice-6153.rs

10 lines
198 B
Rust
Raw Normal View History

2020-10-10 13:03:49 +00:00
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() {}