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
I expected to see either a compiler error or a failing test. I'm currently learning the language, so that's why the code might 100% reflect best practices or is not correct.
Instead the following happend:
▶ cargo test
Compiling sokan v0.1.0 (file:///Users/janschulte/projects/sokan)
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 'No def'n found forDefId { krate: 0, node: 6 }command_parser::Commandin tcx.tcache', ../src/librustc/middle/ty.rs:5513Could not compile `sokan`.To learn more, run the command again with --verbose.
I was developing a new module for a small project:
I expected to see either a compiler error or a failing test. I'm currently learning the language, so that's why the code might 100% reflect best practices or is not correct.
Instead the following happend:
With
RUST_BACKTRACE=1
:The text was updated successfully, but these errors were encountered: