Add test for ICE #6153
This commit is contained in:
parent
cf81975d77
commit
52e650ae88
9
tests/ui/crashes/ice-6153.rs
Normal file
9
tests/ui/crashes/ice-6153.rs
Normal file
@ -0,0 +1,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() {}
|
Loading…
Reference in New Issue
Block a user