about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hansch <dev@phansch.net>2020-04-13 22:12:57 +0200
committerPhilipp Hansch <dev@phansch.net>2020-04-13 22:12:57 +0200
commita4deb5aca55fc1ab18e6c017181dd3f892c614f6 (patch)
treef599ddfc3335ead042b9c9ccb10afe42ff74b4b9
parent8ad1d780e98d3c9be2cc69a012ca105d4a500e99 (diff)
downloadrust-a4deb5aca55fc1ab18e6c017181dd3f892c614f6.tar.gz
rust-a4deb5aca55fc1ab18e6c017181dd3f892c614f6.zip
Explain panic on `E0463` in integration tests
-rw-r--r--tests/integration.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/integration.rs b/tests/integration.rs
index 4f373e034bc..a78273ce0da 100644
--- a/tests/integration.rs
+++ b/tests/integration.rs
@@ -64,6 +64,9 @@ fn integration_test() {
     } else if stderr.contains("query stack during panic") {
         panic!("query stack during panic in the output");
     } else if stderr.contains("E0463") {
+        // Encountering E0463 (can't find crate for `x`) did _not_ cause the build to fail in the
+        // past. Even though it should have. That's why we explicitly panic here.
+        // See PR #3552 and issue #3523 for more background.
         panic!("error: E0463");
     } else if stderr.contains("E0514") {
         panic!("incompatible crate versions");