Skip to content

Commit d828095

Browse files
likznehuss
andauthored
Update src/cargo/ops/registry.rs with err msg
Co-authored-by: Eric Huss <[email protected]>
1 parent 1179e7e commit d828095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/registry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ pub fn publish(ws: &Workspace<'_>, opts: &PublishOpts<'_>) -> CargoResult<()> {
9898
}
9999
} else {
100100
if ws.is_virtual() {
101-
bail!("must use `-p` argument in virtual manifest")
101+
bail!("the `-p` argument must be specified in the root of a virtual workspace")
102102
}
103103
}
104104
let member_ids = ws.members().map(|p| p.package_id());

0 commit comments

Comments
 (0)