about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-02-13 23:25:12 +0100
committerGitHub <noreply@github.com>2023-02-13 23:25:12 +0100
commit7efb884b9c1e112503a77ccb013bdb8feb1adc81 (patch)
treeed6a0a851ac772de321c1b471328ab6fb2df97dc /tests/rustdoc-js-std/parser-errors.js
parent5f3d360844fae27ab3318fd715e81ebcc444c876 (diff)
parentb10d744b87fcaaeea1a2ec2a299dba494c1f3d82 (diff)
downloadrust-7efb884b9c1e112503a77ccb013bdb8feb1adc81.tar.gz
rust-7efb884b9c1e112503a77ccb013bdb8feb1adc81.zip
Rollup merge of #107948 - jieyouxu:issue-107944, r=ozkanonur
Allow shortcuts to directories to be used for ./x.py fmt

Fixes #107944.

Maximum recursive search depth is 3 and only accepts shortcuts for directories. If there are no shortcut candidates, the previous behavior to panic is preserved. If there are multiple candidates, the shortcut candidates are ignored.

After this change, `./x.py fmt std` no longer panics and formats `library/std` instead.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions