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 01e2d29 commit afb6f8dCopy full SHA for afb6f8d
src/librustdoc/html/highlight.rs
@@ -488,7 +488,7 @@ impl<'a> Classifier<'a> {
488
},
489
Some(c) => c,
490
491
- TokenKind::RawIdent | TokenKind::UnknownPrefix => {
+ TokenKind::RawIdent | TokenKind::UnknownPrefix | TokenKind::InvalidIdent => {
492
Class::Ident(self.new_span(before, text))
493
}
494
TokenKind::Lifetime { .. } => Class::Lifetime,
0 commit comments