diff options
| author | Philipp Hansch <dev@phansch.net> | 2020-04-13 22:12:57 +0200 |
|---|---|---|
| committer | Philipp Hansch <dev@phansch.net> | 2020-04-13 22:12:57 +0200 |
| commit | a4deb5aca55fc1ab18e6c017181dd3f892c614f6 (patch) | |
| tree | f599ddfc3335ead042b9c9ccb10afe42ff74b4b9 | |
| parent | 8ad1d780e98d3c9be2cc69a012ca105d4a500e99 (diff) | |
| download | rust-a4deb5aca55fc1ab18e6c017181dd3f892c614f6.tar.gz rust-a4deb5aca55fc1ab18e6c017181dd3f892c614f6.zip | |
Explain panic on `E0463` in integration tests
| -rw-r--r-- | tests/integration.rs | 3 |
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"); |
