Skip to content

Commit 8143abc

Browse files
committed
tmp: Print other workspace name
1 parent f06aeb3 commit 8143abc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/tidy/src/deps.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ pub fn check(root: &Path, cargo: &Path, tidy_ctx: TidyCtx) {
655655
if path == "." { root.to_path_buf() } else { t!(root.join(path).canonicalize()) };
656656
let canonicalized_root_real = t!(metadata.workspace_root.canonicalize());
657657
if canonicalized_root_real != canonicalized_root {
658-
check.error(format!("{path} is part of another workspace, remove from `WORKSPACES` ({WORKSPACE_LOCATION})"));
658+
check.error(format!("{path} is part of another workspace ({}), remove from `WORKSPACES` ({WORKSPACE_LOCATION})", canonicalized_root_real.display()));
659659
}
660660
check_license_exceptions(&metadata, path, exceptions, &mut check);
661661
if let Some((crates, permitted_deps, location)) = crates_and_deps {

0 commit comments

Comments
 (0)