Closed
Description
the code i tried:
- FOR COMPILER TEAM: update to 2018 Edition ICE cargo-generate/cargo-generate#135
- noticed there was a typo, fixed it, still getting an ICE FOR COMPILER TEAM: update to 2018 Edition for real (another/still ICE) cargo-generate/cargo-generate#136
i expected:
- cargo-generate/pull/135, to not compile and give an error about
structStructOpt
typo - cargo-generate/pull/136, to compile (and no longer display 2018 warnings about path clarity)
instead, what happened:
Compiling cargo-generate v0.2.1 (/Users/ag_dubs/rust/cargo-generate)
thread 'main' panicked at 'assertion failed: directive.imported_module.get().is_none()', src/librustc_resolve/resolve_imports.rs:892:21
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.33.0-nightly (790f4c566 2018-12-19) running on x86_64-apple-darwin
note: compiler flags: -C debuginfo=2 -C incremental --crate-type bin
note: some of the compiler flags provided by cargo are hidden
error: Could not compile `cargo-generate`.
system info:
Ashleys-MacBook-Pro-2:cargo-generate ag_dubs$ rustc --version --verbose
rustc 1.33.0-nightly (790f4c566 2018-12-19)
binary: rustc
commit-hash: 790f4c566d9802dfcadc26398dde2051cfe6ec9f
commit-date: 2018-12-19
host: x86_64-apple-darwin
release: 1.33.0-nightly
LLVM version: 8.0