[stable] cargo test
causes a compiler error
#117314
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
cargo build
succeeds, as doescargo bench
, so the code allegedly builds and runs fine, yetcargo test
yields the compiler error.Since the issue exists only on the stable channel, not nightly, it might be a known one (?)
Steps to reproduce:
Code
Meta
rustc --version --verbose
:Switching to nightly rustc makes the error go away.
Error output
Backtrace
The text was updated successfully, but these errors were encountered: