Rustdoc panics at doc comments with only an line break #95800
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.
Code
Meanwhile,
/*! */
(any amount of spaces) and#![doc=""]
,#![doc="\n"]
,#![doc=r#"(line break)"#]
can all be processed correctly; if there is anything more than just a line break (e.g. spaces before*/
or after/*!
), the doc comment can be processed correctly too.Meta
rustc --version --verbose
:Error output
There is no output, the backtrace of
rustdoc
is:The text was updated successfully, but these errors were encountered: