Skip to content
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

'asked to register intrinsic fn' ICE with use of non-generic intrinsic as a value #20319

Closed
huonw opened this issue Dec 30, 2014 · 6 comments
Closed
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@huonw
Copy link
Member

huonw commented Dec 30, 2014

fn main() {
    let _f = std::intrinsics::assume;
}
error: internal compiler error: asked to register intrinsic fn
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box<Any>', /build/rust-git/src/rust/src/libsyntax/diagnostic.rs:182

cc #20318

@huonw huonw added the I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ label Dec 30, 2014
@steveklabnik
Copy link
Member

triage: still panics

@tamird
Copy link
Contributor

tamird commented Apr 22, 2015

triage: still ICEs

bltavares pushed a commit to bltavares/glacier that referenced this issue Oct 24, 2015
'asked to register intrinsic fn' ICE with use of non-generic intrinsic
as a value

Reference rust-lang/rust#20319
@steveklabnik
Copy link
Member

Glacier has told me that as of a few days ago, this ICE has been fixed!

@tamird
Copy link
Contributor

tamird commented Mar 14, 2016

@steveklabnik is there a test for it in tree?

@steveklabnik
Copy link
Member

I am not specifically aware of one.

@tamird
Copy link
Contributor

tamird commented Mar 14, 2016

Does glacier tell you the range of refs between which this was fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Projects
None yet
Development

No branches or pull requests

3 participants