ICE given unclosed angle-bracket *only* in doctest #80992
Labels
A-doctests
Area: Documentation tests, run by rustdoc
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.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Code
The following doctest causes an ICE when compiled in a doctest via
cargo test
. However, the same code causes the expected parse error when compiled outside the context of a doctest.Meta
rustc --version --verbose
:This error still exists in beta and nightly as well.
Error output (when backtrace enabled)
Standard error:
Standard output:
Backtrace
The text was updated successfully, but these errors were encountered: