tree: 4aaf00176d05fe2fcf2721e53e21fd97a87faaf4 [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. blanket_impls.rs
  24. doc_attribute.rs
  25. doc_cfg.rs
  26. doc_hidden_failure.rs
  27. generic-args.rs
  28. generic_impl.rs
  29. glob_import.rs
  30. impl-trait-in-assoc-type.rs
  31. impl-trait-precise-capturing.rs
  32. keyword.rs
  33. keyword_private.rs
  34. nested.rs
  35. non_lifetime_binders.rs
  36. output_generics.rs
  37. path_name.rs
  38. pub_mod_in_private_mod.rs
  39. README.md
  40. return-type-notation.rs
  41. return_private.rs
  42. span.rs
  43. stripped_modules.rs
  44. the_smallest.rs
  45. trait_alias.rs
  46. type_alias.rs
  47. 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