about summary refs log tree commit diff
path: root/src/test/rustdoc/bad-codeblock-syntax.rs
AgeCommit message (Collapse)AuthorLines
2020-08-27Remove dependency on StringReader from rustdoc highlighterAleksey Kladov-6/+6
rustc_lexer is the lossless lexer, which is a better fit for approximate syntax highlighting. As a side-effect, we can now syntax-highlight even broken code.
2020-01-17rustdoc: Catch fatal errors when syntax highlightingOliver Middleton-0/+7
For some errors the lexer will unwind so we need to handle that in addition to handling `token::Unknown`.
2020-01-15rustdoc: HTML escape codeblocks which fail syntax highlightingOliver Middleton-0/+8
2019-01-14rustdoc: check code block syntax in early passAndy Russell-0/+27