Skip to content

Commit e531f54

Browse files
committed
Auto merge of #8569 - euclio:deprecation-message, r=ehuss
relax deprecated diagnostic message check Needed to unblock rust-lang/rust#74785.
2 parents d484b65 + 537a020 commit e531f54

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/testsuite/fix.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ fn shows_warnings() {
686686
.build();
687687

688688
p.cargo("fix --allow-no-vcs")
689-
.with_stderr_contains("[..]warning: use of deprecated item[..]")
689+
.with_stderr_contains("[..]warning: use of deprecated[..]")
690690
.run();
691691
}
692692

@@ -929,11 +929,11 @@ fn shows_warnings_on_second_run_without_changes() {
929929
.build();
930930

931931
p.cargo("fix --allow-no-vcs")
932-
.with_stderr_contains("[..]warning: use of deprecated item[..]")
932+
.with_stderr_contains("[..]warning: use of deprecated[..]")
933933
.run();
934934

935935
p.cargo("fix --allow-no-vcs")
936-
.with_stderr_contains("[..]warning: use of deprecated item[..]")
936+
.with_stderr_contains("[..]warning: use of deprecated[..]")
937937
.run();
938938
}
939939

0 commit comments

Comments
 (0)