about summary refs log tree commit diff
diff options
context:
space:
mode:
-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