Skip to content

Commit

Permalink
Rollup merge of #129695 - GuillaumeGomez:fix-clippy-rustdoc-path, r=o…
Browse files Browse the repository at this point in the history
…nur-ozkan

Fix path to run clippy on rustdoc

Took me a while to find out that the path clippy expected was `src/tools/rustdoc` and not `src/librustdoc`. I think it makes more sense this way as most commands rely on source paths.

r? ```@Kobzol```
  • Loading branch information
workingjubilee committed Aug 29, 2024
2 parents 472d164 + 4e6cd0f commit ac5be35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/src/core/build_steps/clippy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ lint_any!(
RemoteTestServer, "src/tools/remote-test-server", "remote-test-server";
Rls, "src/tools/rls", "rls";
RustAnalyzer, "src/tools/rust-analyzer", "rust-analyzer";
Rustdoc, "src/tools/rustdoc", "clippy";
Rustdoc, "src/librustdoc", "clippy";
Rustfmt, "src/tools/rustfmt", "rustfmt";
RustInstaller, "src/tools/rust-installer", "rust-installer";
Tidy, "src/tools/tidy", "tidy";
Expand Down

0 comments on commit ac5be35

Please sign in to comment.