mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
d843809b9d
source_span_for_markdown_range: fix utf8 violation it is non-trivial to reproduce this bug through rustdoc, which uses this function less than clippy, so the regression test was added as a unit test instead of an integration test. fixes https://github.com/rust-lang/rust/issues/141665 r? ``@GuillaumeGomez``