We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a96fe02 commit 20b69e6Copy full SHA for 20b69e6
src/librustdoc/html/highlight.rs
@@ -632,7 +632,7 @@ impl<'a> Classifier<'a> {
632
},
633
Some(c) => c,
634
635
- TokenKind::RawIdent | TokenKind::UnknownPrefix => {
+ TokenKind::RawIdent | TokenKind::UnknownPrefix | TokenKind::InvalidIdent => {
636
Class::Ident(self.new_span(before, text))
637
}
638
TokenKind::Lifetime { .. } => Class::Lifetime,
0 commit comments