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
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: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'path not fully resolved: PathResolution { base_def: DefTyParam(TypeSpace, 0, DefId { krate: 0, node: 35 }, "S"(72)), last_private: LastMod(AllPublic), depth: 1 }', ../src/librustc/middle/def.rs:81
playpen: application terminated with error code 101
In the playpen (Mode: Debug, Channel: Nightly)
I was playing with associated constants when this code made the compiler panic:
With error message:
Playpen link: http://is.gd/dE8jbq
The line which confuses the compiler is this one:
Without it, the program compiles just fine.
The text was updated successfully, but these errors were encountered: