rustpkg: Remove uses of fmt!
This commit is contained in:
parent
a7f19f36be
commit
da24c0d32f
14 changed files with 313 additions and 305 deletions
|
|
@ -25,8 +25,8 @@ pub fn each_pkg_parent_workspace(cx: &Context, pkgid: &PkgId, action: &fn(&Path)
|
|||
let workspaces = pkg_parent_workspaces(cx, pkgid);
|
||||
if workspaces.is_empty() {
|
||||
// tjc: make this a condition
|
||||
fail!("Package %s not found in any of \
|
||||
the following workspaces: %s",
|
||||
fail2!("Package {} not found in any of \
|
||||
the following workspaces: {}",
|
||||
pkgid.path.to_str(),
|
||||
rust_path().to_str());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue