Skip to content

no type for node 11004: expr 12 + x (id=11004) in fcx 0xb27f5338 #20846

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
ristew opened this issue Jan 10, 2015 · 0 comments · Fixed by #20897
Closed

no type for node 11004: expr 12 + x (id=11004) in fcx 0xb27f5338 #20846

ristew opened this issue Jan 10, 2015 · 0 comments · Fixed by #20897
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@ristew
Copy link

ristew commented Jan 10, 2015

While working with Cargo trying to bring piston up to date, the compiler broke.
Right before is

src/webp/vp8.rs:1177:9: 1177:37 error: the trait `core::ops::IndexMut<u32>` is not implemented for the type `[webp::vp8::MacroBlock]`
src/webp/vp8.rs:1177         self.top.as_mut_slice()[mbx].bpred = mb.bpred;

and backtrace:

thread 'rustc' panicked at 'Box<Any>', /build/buildd/rust-nightly-201501090408~44a287e~trusty/src/libsyntax/diagnostic.rs:182

stack backtrace:
   1: 0xb72b5cc0 - sys::backtrace::write::ha9a1ae195ebff231Czt
   2: 0xb72d6ef0 - <unknown>
   3: 0xb7246570 - rt::unwind::begin_unwind_inner::h5c6422a7f23efb212tz
   4: 0xb37c5820 - <unknown>
   5: 0xb37c6030 - diagnostic::Handler::bug::h37080b507ff1a298tWF
   6: 0xb61e13a0 - session::Session::bug::hf4cbf64e87a7e957iRq
   7: 0xb6e04830 - <unknown>
   8: 0xb6e36f50 - <unknown>
   9: 0xb6e37db0 - <unknown>
  10: 0xb6e7db90 - <unknown>
  11: 0xb6e7ae90 - <unknown>
  12: 0xb6e7aa30 - <unknown>
  13: 0xb6e7ae90 - <unknown>
  14: 0xb6e7db90 - <unknown>
  15: 0xb6e7aa30 - <unknown>
  16: 0xb6e7ae90 - <unknown>
  17: 0xb6e7db90 - <unknown>
  18: 0xb6e7aa30 - <unknown>
  19: 0xb6e7ae90 - <unknown>
  20: 0xb6e7db90 - <unknown>
  21: 0xb6e7aa30 - <unknown>
  22: 0xb6e7ae90 - <unknown>
  23: 0xb6e7db90 - <unknown>
  24: 0xb6e7aa30 - <unknown>
  25: 0xb6e742f0 - <unknown>
  26: 0xb6ea06e0 - <unknown>
  27: 0xb6ea4140 - <unknown>
  28: 0xb6e97c70 - <unknown>
  29: 0xb6ea0390 - <unknown>
  30: 0xb6e9eb20 - <unknown>
  31: 0xb6ea0390 - <unknown>
  32: 0xb6e9eb20 - <unknown>
  33: 0xb6f723a0 - <unknown>
  34: 0xb6f6c740 - check_crate::h7bd424b9d1e17a3723x
  35: 0xb75ed3a0 - driver::phase_3_run_analysis_passes::h812666c686a8a253gwa
  36: 0xb75d5a70 - driver::compile_input::h38c9a2fe74713aafxba
  37: 0xb76a8410 - <unknown>
  38: 0xb76a8270 - <unknown>
  39: 0xb76a70d0 - <unknown>
  40: 0xb7344ed0 - <unknown>
  41: 0xb7344ea0 - rust_try
  42: 0xb76a73b0 - <unknown>
  43: 0xb72c5940 - <unknown>
  44: 0xb35e8ea0 - start_thread
  45: 0xb7120472 - clone
  46:        0x0 - <unknown>

Could not compile `image`.

Caused by:
  Process didn't exit successfully: `rustc src/lib.rs --crate-name image --crate-type lib -g -C metadata=b2e8f75d1584c248 -C extra-filename=-b2e8f75d1584c248 --out-dir /home/riley/rust/image/target --emit=dep-info,link -L /home/riley/rust/image/target -L /home/riley/rust/image/target/deps --extern num=/home/riley/rust/image/target/deps/libnum-b8f97d4a5adf4c6e.rlib` (status=101)

and

rustc --version --verbose
rustc 1.0.0-nightly (44a287e6e 2015-01-08 17:03:40 -0800)
binary: rustc
commit-hash: 44a287e6eb22ec3c2a687fc156813577464017f7
commit-date: 2015-01-08 17:03:40 -0800
host: i686-unknown-linux-gnu
release: 1.0.0-nightly
@sfackler sfackler added the I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ label Jan 10, 2015
barosl added a commit to barosl/rust that referenced this issue Jan 11, 2015
If the type of a node cannot be determined due to a previous type error,
a "no type for node" ICE occurs. This commit makes it return ty_err
instead in such a case.

Fixes rust-lang#20401.
Fixes rust-lang#20506.
Fixes rust-lang#20614.
Fixes rust-lang#20752.
Fixes rust-lang#20829.
Fixes rust-lang#20846.
Fixes rust-lang#20885.
Fixes rust-lang#20886.
bors added a commit that referenced this issue Jan 12, 2015
If the type of a node cannot be determined due to a previous type error, a `no type for node` ICE occurs. This commit makes it return `ty_err` instead in such a case.

Fixes #20401.
Fixes #20506.
Fixes #20614.
Fixes #20752.
Fixes #20829.
Fixes #20846.
Fixes #20885.
Fixes #20886.
Fixes #20952.
Fixes #20970.
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

Successfully merging a pull request may close this issue.

2 participants