diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-09-23 23:40:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-23 23:40:29 +0200 |
| commit | f984966325bbfd81b385a8b8b6d1141059749c96 (patch) | |
| tree | d37901b53d0ca84eb0b9a15408ded2dad3249261 /tests/rustdoc-ui/doctest/doctest-output.rs | |
| parent | 7d0c283bbfbd94df02b7459f4facc67ff560263a (diff) | |
| parent | 2d18c886f5754258109fad2e1e0c3bcca0cc9fa5 (diff) | |
| download | rust-f984966325bbfd81b385a8b8b6d1141059749c96.tar.gz rust-f984966325bbfd81b385a8b8b6d1141059749c96.zip | |
Rollup merge of #146899 - Teapot4195:issue-146847-fix, r=nnethercote
Fix a crash/mislex when more than one frontmatter closing possibility is considered When the less fortunate recovery path for frontmatters are taken, if the lexer considers more than one possible frontmatter closing possibility, the current index is entirely mis-tracked and can result in bump_bytes landing in the middle of a multichar unicode character. This fixes it by tracking the actual base index and updating it as it considers additional closing possibilities. fixes rust-lang/rust#146847
Diffstat (limited to 'tests/rustdoc-ui/doctest/doctest-output.rs')
0 files changed, 0 insertions, 0 deletions
