diff options
| author | Michael Howell <michael@notriddle.com> | 2023-05-26 17:29:08 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-05-26 18:38:46 -0700 |
| commit | 1a77d9a54d1fcf8b2a7aa339fb861d642ad4ff5a (patch) | |
| tree | f78cb9b6f546d1a6ed55173fe733795df0ee95b2 /compiler/rustc_errors/src/snippet.rs | |
| parent | 1a5f8bce74ee432f7cc3aa131bc3d6920e06de10 (diff) | |
| download | rust-1a77d9a54d1fcf8b2a7aa339fb861d642ad4ff5a.tar.gz rust-1a77d9a54d1fcf8b2a7aa339fb861d642ad4ff5a.zip | |
rustdoc: get unnormalized link destination for suggestions
Fixes #110111 This bug, and the workaround in this commit, is closely linked to [raphlinus/pulldown-cmark#441], getting offsets of link components. In particular, pulldown-cmark doesn't provide the offsets of the contents of a link. To work around this, rustdoc parser parts of a link definition itself. [raphlinus/pulldown-cmark#441]: https://github.com/raphlinus/pulldown-cmark/issues/441
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions
