about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-07-24 02:24:04 +0000
committerbors <bors@rust-lang.org>2024-07-24 02:24:04 +0000
commit42103d69b73fb4e9d03d5cf66ec12985bb526f6e (patch)
treecf987f266dcf837242f90809157b1c45f0c5bb2d /compiler/rustc_pattern_analysis
parentf751af4d78a11d0231b35217348a3346a28688f1 (diff)
parente8ef886962720fc9b5fe3b66e2d14401bb62d9e5 (diff)
downloadrust-42103d69b73fb4e9d03d5cf66ec12985bb526f6e.tar.gz
rust-42103d69b73fb4e9d03d5cf66ec12985bb526f6e.zip
Auto merge of #128123 - ehuss:tidy-rustbook-submodule, r=Mark-Simulacrum
Fix tidy check if book submodule is not checked out

This fixes tidy in a checkout without submodules. https://github.com/rust-lang/rust/pull/127786 added a new cargo workspace, and the corresponding checks in tidy. There is code in tidy to skip those checks if the submodule is checked out, but that code assumed the root of the workspace was also the root of the submodule. With `rustbook`, the root is `src/tools/rustbook`, but the submodules it needs are in the `src/doc` directory.

The solution here is to explicitly list which submodules are needed instead of assuming the root is also the submodule.
Diffstat (limited to 'compiler/rustc_pattern_analysis')
0 files changed, 0 insertions, 0 deletions