mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
more specific registry index not found msg
This commit is contained in:
parent
d5336f813d
commit
3393fdc528
@ -1546,7 +1546,10 @@ impl Config {
|
||||
)
|
||||
})
|
||||
} else {
|
||||
bail!("no index found for registry: `{}`", registry);
|
||||
bail!(
|
||||
"registry index was not found in any configuration: `{}`",
|
||||
registry
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -243,7 +243,7 @@ fn undefined_default() {
|
||||
.replace_crates_io(crates_io.index_url())
|
||||
.with_status(101)
|
||||
.with_stderr(
|
||||
"[ERROR] no index found for registry: `undefined`
|
||||
"[ERROR] registry index was not found in any configuration: `undefined`
|
||||
",
|
||||
)
|
||||
.run();
|
||||
|
Loading…
x
Reference in New Issue
Block a user