Skip to content

Commit f6c5d58

Browse files
committed
Improve depinfo error
1 parent fb61d04 commit f6c5d58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/compile-test.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ fn extern_flags() -> String {
9292
.collect();
9393
assert!(
9494
not_found.is_empty(),
95-
"dependencies not found in depinfo: {:?}",
95+
"dependencies not found in depinfo: {:?}\n\
96+
help: Make sure the `-Z binary-dep-depinfo` rust flag is enabled\n\
97+
help: Try adding to dev-dependencies in Cargo.toml",
9698
not_found
9799
);
98100
crates

0 commit comments

Comments
 (0)