Auto merge of #7711 - camsteffen:depinfo-error, r=flip1995

Improve depinfo error

changelog: none

r? `@flip1995`
This commit is contained in:
bors 2021-09-28 16:56:02 +00:00
commit 9fc4b92eb2

View File

@ -92,7 +92,9 @@ fn extern_flags() -> String {
.collect();
assert!(
not_found.is_empty(),
"dependencies not found in depinfo: {:?}",
"dependencies not found in depinfo: {:?}\n\
help: Make sure the `-Z binary-dep-depinfo` rust flag is enabled\n\
help: Try adding to dev-dependencies in Cargo.toml",
not_found
);
crates