summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/crashes/ice-6153.rs
blob: 9f73f39f10d7969194cdbee8307437acda7e9569 (plain)
1
2
3
4
5
6
7
8
9
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() {}