rust/src/test
Matthias Krüger eb27b613b6
Rollup merge of #106466 - clubby789:relative-module-fix, r=notriddle
Fix rustdoc source code rendering for `#[path = "../path/to/mod.rs"]` links

Fixes #103517

While generating the location for modules source HTML to be saved at, a `..` path component appeared to be translated to `/up/`.
Additionally, while generating the navigation sidebar, `..` path components were ignored. This means that (as in the issue above), a *real* directory structure of:
```
sys/
  unix/
    mod.rs  <-- contains #![path = "../unix/mod.rs]
    cmath.rs
```
was rendered as:
```
sys/
  unix/
    mod.rs
    unix/
      cmath.rs  <-- links to sys/unix/unix/cmath.rs.html, 404
```
While the *files* were stored as
```
sys/
  unix/
    mod.rs.html
    up/
      unix/
        cmath.rs.html
```
2023-01-06 21:26:11 +01:00
..
assembly Add vendor to Fuchsia's target triple 2023-01-05 09:34:22 -05:00
auxiliary
codegen Auto merge of #106474 - erikdesjardins:noalias, r=bjorn3 2023-01-06 15:20:58 +00:00
codegen-units Statics used in reachable function's inline asm are reachable 2022-11-28 18:28:05 +01:00
debuginfo Fix pretty-std test 2022-11-27 23:15:55 +01:00
incremental Remove references to removed option from tests. 2022-12-25 18:48:48 +00:00
mir-opt Reenable limited top-down MIR inlining 2023-01-01 22:01:29 -08:00
pretty
run-make Add json output to -Zdump-mono-stats 2023-01-02 23:02:58 +00:00
run-make-fulldeps Add missing extern crate rustc_driver 2022-12-31 17:20:13 +00:00
run-pass-valgrind Bless more tests 2022-11-05 18:05:45 +00:00
rustdoc Update tests 2023-01-06 16:48:23 +00:00
rustdoc-gui Auto merge of #106487 - GuillaumeGomez:fix-kbd-var, r=notriddle 2023-01-05 15:47:39 +00:00
rustdoc-js Add regression test for reexports in search results 2022-10-30 13:58:00 +01:00
rustdoc-js-std
rustdoc-json Rollup merge of #106412 - GuillaumeGomez:fix-links-to-primitive-rustdoc-json, r=aDotInTheVoid 2023-01-04 23:39:50 +01:00
rustdoc-ui Rename stock solver to classic 2023-01-04 18:40:02 +00:00
ui Auto merge of #105805 - yanchen4791:issue-105227-fix, r=estebank 2023-01-06 12:08:49 +00:00
ui-fulldeps Add missing extern crate rustc_driver 2022-12-31 17:20:13 +00:00
COMPILER_TESTS.md