Skip to content

ICE: Cannot relate bound region with extern mod #11529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
klutzy opened this issue Jan 14, 2014 · 2 comments · Fixed by #12738
Closed

ICE: Cannot relate bound region with extern mod #11529

klutzy opened this issue Jan 14, 2014 · 2 comments · Fixed by #12738
Labels
E-needs-test Call for participation: An issue has been fixed and does not reproduce, but no test has been added.

Comments

@klutzy
Copy link
Contributor

klutzy commented Jan 14, 2014

a.rs:

#[crate_type = "rlib"];
pub struct A<'a>(&'a int);

b.rs:

extern mod a;
fn main() {
    let one = 1;
    let _a = a::A(&one);
}
b.rs:5:19: 5:23 error: internal compiler error: Cannot relate bound region: ReEarlyBound(12, 0, a) <= ReInfer(1)
This message reflects a bug in the Rust compiler.
We would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html
b.rs:5     let _a = a::A(&one);
                         ^~~~

cc @nikomatsakis

@jfager
Copy link
Contributor

jfager commented Mar 5, 2014

This doesn't appear to be a problem anymore, can this be closed?

@alexcrichton
Copy link
Member

Flagging as needstest.

bors added a commit that referenced this issue Mar 6, 2014
Closes #6738
Closes #7061
Closes #7899
Closes #9719
Closes #10028
Closes #10228
Closes #10401
Closes #11192
Closes #11508
Closes #11529
Closes #11873
Closes #11925
bors added a commit to rust-lang-ci/rust that referenced this issue Mar 17, 2024
…Veykril

feat: Add proc macro semantic token type

Closes  rust-lang#11529
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-needs-test Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants