Skip to content

ICE: adt::represent_type called on non-ADT type: u64 #17140

Closed

Description

After a smallest of changes, I am now getting an ICE when building on Win32.
Here's the branch where this happens: https://github.com/vadimcn/rust/commits/ice
I can't imagine that commenting out a linker argument would cause this error, so if I had to guess, this is some memory corruption during parsing.


rustc: i686-pc-mingw32/stage0/bin/rustlib/i686-pc-mingw32/lib/librustc
error: internal compiler error: adt::represent_type called on non-ADT type: u64
note: the compiler hit an unexpected failure path. 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
task 'rustc' failed at 'Box<Any>', C:\bot\slave\snap3-win32\build\src\libsyntax\ast_util.rs:776

stack backtrace:
   1:  0x252112b
   2:  0x253cc0c
   3:  0x15afb06
   4:  0x15b0269
   5:   0xb80b06
   6:   0xf0b025
   7:   0xf51a0b
   8:   0xf37033
   9:   0xf05b86
  10:   0xf30cdc
  11:   0xf3f983
  12:   0xf3df43
  13:   0xefda7d
  14:   0xf4b641
  15:   0xf3e335
  16:   0xefc795
  17:  0x1005fd0
  18:   0xf9f82c
  19:   0xefbde7
  20:   0xefb455
  21:   0xefc92b
  22:   0xfa91f2
  23:   0xeee4ec
  24:   0xee9f06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions