about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-09-28 16:56:02 +0000
committerbors <bors@rust-lang.org>2021-09-28 16:56:02 +0000
commit9fc4b92eb2831b5175a4720aff593252a716a2fa (patch)
tree2221078bd8739b491d3084ab4316b797c73570d6
parentcb7915b00c235e9b5861564f3be78dba330980ee (diff)
parentf6c5d580b88c209db4076916b44687df527fd4fd (diff)
downloadrust-9fc4b92eb2831b5175a4720aff593252a716a2fa.tar.gz
rust-9fc4b92eb2831b5175a4720aff593252a716a2fa.zip
Auto merge of #7711 - camsteffen:depinfo-error, r=flip1995
Improve depinfo error

changelog: none

r? `@flip1995`
-rw-r--r--tests/compile-test.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/compile-test.rs b/tests/compile-test.rs
index d7596f6ff0c..e8b1640c869 100644
--- a/tests/compile-test.rs
+++ b/tests/compile-test.rs
@@ -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