Skip to content

Commit a4deb5a

Browse files
committed
Explain panic on E0463 in integration tests
1 parent 8ad1d78 commit a4deb5a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/integration.rs

+3
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ fn integration_test() {
6464
} else if stderr.contains("query stack during panic") {
6565
panic!("query stack during panic in the output");
6666
} else if stderr.contains("E0463") {
67+
// Encountering E0463 (can't find crate for `x`) did _not_ cause the build to fail in the
68+
// past. Even though it should have. That's why we explicitly panic here.
69+
// See PR #3552 and issue #3523 for more background.
6770
panic!("error: E0463");
6871
} else if stderr.contains("E0514") {
6972
panic!("incompatible crate versions");

0 commit comments

Comments
 (0)