We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5336f8 commit 3393fdcCopy full SHA for 3393fdc
src/cargo/util/config/mod.rs
@@ -1546,7 +1546,10 @@ impl Config {
1546
)
1547
})
1548
} else {
1549
- bail!("no index found for registry: `{}`", registry);
+ bail!(
1550
+ "registry index was not found in any configuration: `{}`",
1551
+ registry
1552
+ );
1553
}
1554
1555
tests/testsuite/source_replacement.rs
@@ -243,7 +243,7 @@ fn undefined_default() {
243
.replace_crates_io(crates_io.index_url())
244
.with_status(101)
245
.with_stderr(
246
- "[ERROR] no index found for registry: `undefined`
+ "[ERROR] registry index was not found in any configuration: `undefined`
247
",
248
249
.run();
0 commit comments