rust/tests/rustdoc-ui/intra-doc
Michael Howell 1a77d9a54d 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
2023-05-26 18:38:46 -07:00
..
auxiliary Move test from rustdoc-ui to rustdoc-json 2023-04-14 18:19:49 +00:00
.gitattributes
alias-ice.rs
alias-ice.stderr
ambiguity.rs Update UI tests for primitive type ambiguity error renaming 2023-03-24 14:50:12 +01:00
ambiguity.stderr Update UI tests for primitive type ambiguity error renaming 2023-03-24 14:50:12 +01:00
anchors.rs
anchors.stderr
assoc-field.rs
assoc-item-not-in-scope.rs move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
assoc-item-not-in-scope.stderr move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
assoc-mod-inner-outer.rs
broken-reexport.rs
crate-nonexistent.rs
crate-nonexistent.stderr
deny-intra-link-resolution-failure.rs Move some rustdoc-ui tests to subdirectories 2023-04-29 11:36:19 -05:00
deny-intra-link-resolution-failure.stderr Move some rustdoc-ui tests to subdirectories 2023-04-29 11:36:19 -05:00
disambiguator-mismatch.rs
disambiguator-mismatch.stderr
double-anchor.rs
double-anchor.stderr
email-address-localhost.rs
errors.rs Update UI tests for primitive type ambiguity error renaming 2023-03-24 14:50:12 +01:00
errors.stderr Update UI tests for primitive type ambiguity error renaming 2023-03-24 14:50:12 +01:00
extern-crate-load.rs
feature-gate-intra-doc-pointers.rs
feature-gate-intra-doc-pointers.stderr
field-ice.rs
field-ice.stderr
global-path.rs
global-path.stderr
html-as-generics-intra-doc.rs
html-as-generics-intra-doc.stderr
import-inline-merge-module.rs rustdoc: Cleanup parent module tracking for doc links 2023-03-21 17:36:57 +04:00
import-inline-merge.rs rustdoc: Correctly merge import's and its target's docs in one more case 2023-03-17 18:46:27 +04:00
incompatible-primitive-disambiguator.rs
incompatible-primitive-disambiguator.stderr
issue-108653-associated-items-2.rs Add regression tests for #108653 2023-03-24 13:41:21 +01:00
issue-108653-associated-items-2.stderr Add regression tests for #108653 2023-03-24 13:41:21 +01:00
issue-108653-associated-items-3.rs Add regression tests for #108653 2023-03-24 13:41:21 +01:00
issue-108653-associated-items-3.stderr Add regression tests for #108653 2023-03-24 13:41:21 +01:00
issue-108653-associated-items-4.rs Add regression tests for #108653 2023-03-24 13:41:21 +01:00
issue-108653-associated-items-4.stderr Add regression tests for #108653 2023-03-24 13:41:21 +01:00
issue-108653-associated-items-5.rs Add regression tests for #108653 2023-03-24 13:41:21 +01:00
issue-108653-associated-items-5.stderr Add regression tests for #108653 2023-03-24 13:41:21 +01:00
issue-108653-associated-items-6.rs Update UI tests for primitive type ambiguity error renaming 2023-03-24 14:50:12 +01:00
issue-108653-associated-items-6.stderr Update UI tests for primitive type ambiguity error renaming 2023-03-24 14:50:12 +01:00
issue-108653-associated-items-7.rs Add regression tests for #108653 2023-03-24 13:41:21 +01:00
issue-108653-associated-items-7.stderr Add regression tests for #108653 2023-03-24 13:41:21 +01:00
issue-108653-associated-items-8.rs Add regression tests for #108653 2023-03-24 13:41:21 +01:00
issue-108653-associated-items-8.stderr Add regression tests for #108653 2023-03-24 13:41:21 +01:00
issue-108653-associated-items-9.rs Add regression tests for #108653 2023-03-24 13:41:21 +01:00
issue-108653-associated-items-10.rs Put back is_derive_trait_collision check 2023-03-24 16:10:31 +01:00
issue-108653-associated-items.rs Add regression tests for #108653 2023-03-24 13:41:21 +01:00
issue-108653-associated-items.stderr Bless rustdoc-ui test with new errors order 2023-04-05 15:59:29 +00:00
issue-110495-suffix-with-space.rs rustdoc: fix ICE from rustc_resolve and librustdoc parse divergence 2023-04-18 12:22:13 -07:00
issue-110495-suffix-with-space.stderr rustdoc: get unnormalized link destination for suggestions 2023-05-26 18:38:46 -07:00
issue-111189-resolution-ice.rs Add regression test for #111189 2023-05-23 15:33:43 +02:00
issue-111189-resolution-ice.stderr Add regression test for #111189 2023-05-23 15:33:43 +02:00
macro-rules-error.rs
macro-rules-error.stderr
macro-rules.rs
malformed-generics.rs
malformed-generics.stderr
non-path-primitives.rs
non-path-primitives.stderr Update UI tests for primitive type ambiguity error renaming 2023-03-24 14:50:12 +01:00
pointer-reexports-allowed.rs
prim-conflict.rs Update UI tests for primitive type ambiguity error renaming 2023-03-24 14:50:12 +01:00
prim-conflict.stderr Update UI tests for primitive type ambiguity error renaming 2023-03-24 14:50:12 +01:00
private-from-crate-level.rs
private-from-crate-level.stderr
private.private.stderr
private.public.stderr
private.rs
proc-macro-doc.rs resolve: Fix doc links referring to other crates when documenting proc macro crates directly 2023-02-13 00:51:29 +04:00
pub-export-lint.rs move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
pub-export-lint.stderr move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
reachable-non-exported.rs rustdoc: Skip doc link resolution for non-exported items 2023-03-23 16:19:59 +04:00
reference-link-reports-error-once.rs move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
reference-link-reports-error-once.stderr move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
reference-links.rs move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
reference-links.stderr move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
span-ice-55723.rs
span-ice-55723.stderr
through-proc-macro.rs
through-proc-macro.stderr
unknown-disambiguator.rs
unknown-disambiguator.stderr rustdoc: Cleanup broken link callbacks 2023-02-18 14:45:01 +04:00
unresolved-import-recovery.rs
unresolved-import-recovery.stderr Make configure_and_expand "infalllible" by just aborting the compilation if it fails instead of bubbling out an error 2023-02-20 15:28:59 +00:00
unused-extern-crate.rs
unused-extern-crate.stderr
warning-crlf.rs
warning-crlf.stderr
warning.rs
warning.stderr
weird-syntax.rs rustdoc: get unnormalized link destination for suggestions 2023-05-26 18:38:46 -07:00
weird-syntax.stderr rustdoc: get unnormalized link destination for suggestions 2023-05-26 18:38:46 -07:00