Skip to content

Commit 830db6f

Browse files
committed
Change tests to support rustc wording changes
Between rust-lang/rust#126810 and rust-lang/rust#126810 the output of rustc for resolution errors is going to change in such a way that some existing cargo tests will fail. Change them to support both the current and future output, so that those PRs can land in `rustc`.
1 parent 354f9b2 commit 830db6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testsuite/check.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ fn short_message_format() {
819819
.with_status(101)
820820
.with_stderr_data(str![[r#"
821821
[CHECKING] foo v0.0.1 ([ROOT]/foo)
822-
src/lib.rs:1:27: error[E0308]: mismatched types
822+
src/lib.rs:1:27: error[E0308]: mismatched types[..]
823823
[ERROR] could not compile `foo` (lib) due to 1 previous error
824824
825825
"#]])

0 commit comments

Comments
 (0)