We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
fn main() { const C: &'static Fn() = &||{}; }
error: internal compiler error: no type for node 15: expr { } (id=15) in fcx note: the compiler unexpectedly panicked. this is a bug.
The text was updated successfully, but these errors were encountered:
Fix an ICE with a closure in a constant.
eefeba0
Fixes issue rust-lang#27268.
Auto merge of #27272 - eefriedman:closure-const-crash, r=nikomatsakis
cf7e825
Fixes issue #27268. r? @nikomatsakis
Doesn't seem to ICE as of rustc 1.4.0-beta.3 (20eba40 2015-10-16)
Sorry, something went wrong.
Yes, it's fixed, and there's a testcase in the tree; I just forgot to close it.
No branches or pull requests
The text was updated successfully, but these errors were encountered: