Auto merge of #8569 - euclio:deprecation-message, r=ehuss

relax deprecated diagnostic message check

Needed to unblock rust-lang/rust#74785.
This commit is contained in:
bors 2020-07-31 01:43:43 +00:00
commit e531f54954

View File

@ -686,7 +686,7 @@ fn shows_warnings() {
.build();
p.cargo("fix --allow-no-vcs")
.with_stderr_contains("[..]warning: use of deprecated item[..]")
.with_stderr_contains("[..]warning: use of deprecated[..]")
.run();
}
@ -929,11 +929,11 @@ fn shows_warnings_on_second_run_without_changes() {
.build();
p.cargo("fix --allow-no-vcs")
.with_stderr_contains("[..]warning: use of deprecated item[..]")
.with_stderr_contains("[..]warning: use of deprecated[..]")
.run();
p.cargo("fix --allow-no-vcs")
.with_stderr_contains("[..]warning: use of deprecated item[..]")
.with_stderr_contains("[..]warning: use of deprecated[..]")
.run();
}