-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
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;
^~~~~~~~
Metadata
Metadata
Assignees
Labels
E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.