tree: fe01a9e19b7f100b4016e6adb2ca3791a7dab97c [search]
  1. attrs/
  2. auxiliary/
  3. enums/
  4. fn_pointer/
  5. fns/
  6. generic-associated-types/
  7. impls/
  8. intra-doc-links/
  9. lifetime/
  10. methods/
  11. primitives/
  12. reexport/
  13. remap-path-prefix/
  14. statics/
  15. structs/
  16. targets/
  17. traits/
  18. type/
  19. unions/
  20. visibility/
  21. assoc_items.rs
  22. assoc_type.rs
  23. associated-const-underscore.rs
  24. blanket_impls.rs
  25. doc_attribute.rs
  26. doc_cfg.rs
  27. doc_hidden_failure.rs
  28. generic-args.rs
  29. generic_impl.rs
  30. glob_import.rs
  31. impl-trait-in-assoc-type.rs
  32. impl-trait-precise-capturing.rs
  33. keyword.rs
  34. keyword_private.rs
  35. nested.rs
  36. non_lifetime_binders.rs
  37. output_generics.rs
  38. path_name.rs
  39. pub_mod_in_private_mod.rs
  40. README.md
  41. return-type-notation.rs
  42. return_private.rs
  43. span.rs
  44. stripped_modules.rs
  45. the_smallest.rs
  46. trait_alias.rs
  47. type_alias.rs
  48. vectorcall.rs
tests/rustdoc-json/README.md

tests/rustdoc-json/remap-path-prefix

Tests for --remap-path-prefix and --remap-path-scope with rustdoc JSON:

  • remap-path-prefix: only uses bare --remap-path-prefix, expects remapped paths
  • doc: pass --remap-path-prefix and the documentation scope, expects remapped paths
  • object: pass --remap-path-prefix and the object scope, expects un-remapped paths
  • debuginfo: pass --remap-path-prefix and the debuginfo scope, expects un-remapped paths