You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ICE when useing macro defined in standard library #53512
error[E0432]: unresolved import `std::assert`
--> src/main.rs:1:5
|
1 | use std::assert;
| ^^^^^^^^^^^ no `assert` in the root
thread 'main' panicked at 'librustc_resolve/macros.rs:909: inconsistent resolution for a macro', librustc/util/bug.rs:47:26
note: Run with `RUST_BACKTRACE=1` for a backtrace.
error: aborting due to previous error
For more information about this error, try `rustc --explain E0432`.
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.30.0-nightly (33b923fd4 2018-08-18) running on x86_64-unknown-linux-gnu
note: compiler flags: -C codegen-units=1 -C debuginfo=2 --crate-type bin
note: some of the compiler flags provided by cargo are hidden
error: Could not compile `playground`.
To learn more, run the command again with --verbose.
Activity
petrochenkov commentedon Aug 20, 2018
This looks very similar to #53269, easy bug.
I'll fix this tomorrow if this wasn't already fixed by #53471.
Auto merge of #53471 - petrochenkov:biattr2, r=oli-obk
petrochenkov commentedon Aug 21, 2018
Fixed in #53471