Closed
Description
This code:
// test.rs
extern mod other;
static a: other::Foo<'static> = other::A;
fn main() {}
// other.rs
pub enum Foo<'self> {
A,
B(&'self str),
}
Causes the ICE
test.rs:2:32: 2:40 error: internal compiler error: Cannot relate bound region as superregion: br_self
test.rs:2 static a: other::Foo<'static> = other::A;
^~~~~~~~