about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/osstring-to-string.js
diff options
context:
space:
mode:
authorbinarycat <binarycat@envs.net>2025-02-01 13:35:06 -0600
committerbinarycat <binarycat@envs.net>2025-05-22 12:31:28 -0500
commit3005a09fedd5c874c36ca1c788954e51e3fa0617 (patch)
treef19070a88171d0b77afeda52746804b4e0d15aac /tests/rustdoc-js-std/osstring-to-string.js
parentc79bbfab78dcb0a72aa3b2bc35c00334b58bfe2e (diff)
downloadrust-3005a09fedd5c874c36ca1c788954e51e3fa0617.tar.gz
rust-3005a09fedd5c874c36ca1c788954e51e3fa0617.zip
rustdoc: improve diagnostics on raw doc fragments
1. rustdoc::bare_urls doesn't output
   invalid suggestions if source_span_for_markdown_range
   fails to find a span

2. source_span_for_markdown_range tries harder to
   return a span by applying an additional diagnostic

fixes https://github.com/rust-lang/rust/issues/135851
Diffstat (limited to 'tests/rustdoc-js-std/osstring-to-string.js')
0 files changed, 0 insertions, 0 deletions