Skip to content

Use of deprecated array declaration syntax throws internal compiler error #40854

New issue

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

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

Already on GitHub? # to your account

Closed
hahanein opened this issue Mar 27, 2017 · 1 comment
Closed

Comments

@hahanein
Copy link

Use of deprecated array declaration syntax throws internal compiler error.

I tried this code:

type SomeType = [i8, ..12];

Then this happened:

error: internal compiler error: /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/librustc/hir/map/mod.rs:374: local_def_id: no entry for `203`, which has a map of `Some(EntryExpr(NodeId(5), expr(203: ::std::ops::RangeTo{end: 12,})))`
@arielb1
Copy link
Contributor

arielb1 commented Mar 27, 2017

dupe of #40749.

@arielb1 arielb1 closed this as completed Mar 27, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants