about summary refs log tree commit diff
path: root/src/librustdoc/html/highlight/tests.rs
AgeCommit message (Expand)AuthorLines
2025-09-30Add `#[bench]` for librustdoc's syntax highlighterYotam Ofek-0/+14
2025-02-12Nuke `Buffer` abstraction from `librustdoc` 💣Yotam Ofek-11/+10
2025-02-11Update rustdoc testsGuillaume Gomez-5/+5
2025-01-22rustdoc: pass around decoration info by refYotam Ofek-1/+1
2024-10-06Handle `librustdoc` cases of `rustc::potential_query_instability` lintismailarilik-2/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+3
2023-08-16Improve code readability by moving fmt args directly into the stringGuillaume Gomez-1/+1
2022-10-31rustdoc: rename syntax highlighting CSS class `attribute` to `attr`Michael Howell-1/+1
2022-08-20Extend decoration test to detect regressionsGuillaume Gomez-2/+5
2022-08-09rustdoc: simplify highlight.rsJacob Hoffman-Andrews-6/+5
2021-10-08Change handling of spans in scrape examples, add test for highlight decorationsWill Crichton-1/+16
2021-10-06Change serialized format to use DefPathHash instead of custom StringWill Crichton-1/+1
2021-10-06Move highlighting logic from JS to RustWill Crichton-3/+3
2021-08-06Add test for union keyword highlightingGuillaume Gomez-0/+10
2021-08-05Fix invalid generation of HTML in highlightGuillaume Gomez-0/+14
2021-08-05Move extra arguments for highlight URL generation into a new ContextInfo stru...Guillaume Gomez-2/+2
2021-08-05Update rustdoc testsGuillaume Gomez-2/+2
2021-07-08Rework SESSION_GLOBALS API to prevent overwriting itGuillaume Gomez-3/+3
2021-05-05Update highlight testsGuillaume Gomez-11/+16
2021-01-30rustdoc tweakingbors-4/+5
2020-12-24rustdoc: Highlight edition-specific keywords correctly in code blocks, accoun...ThePuzzlemaker-2/+3
2020-11-15Add test to ensure that no DOS backline (\r\n) doesn't create extra backline ...Guillaume Gomez-11/+21
2020-08-31Update expect-test to 1.0Aleksey Kladov-1/+1
2020-08-27Add expect test for rustdoc html highlightingAleksey Kladov-61/+20
2020-08-27Remove dependency on StringReader from rustdoc highlighterAleksey Kladov-20/+4
2020-08-08Eliminate the `SessionGlobals` from `librustc_ast`.Nicholas Nethercote-1/+1
2020-07-14rustdoc: glue tokens before highlightingAndy Russell-0/+82