Update -zhelp and -chelp rustdoc-ui tests to use regex-error-pattern

This commit is contained in:
Guillaume Gomez 2022-07-12 11:20:36 +02:00
parent f515af7e3b
commit 349a3fc6a3
2 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,6 @@
// check-pass
// compile-flags: -Chelp
// check-stdout
// regex-error-pattern: -C\s+incremental
pub struct Foo;

View File

@ -1,4 +1,6 @@
// check-pass
// compile-flags: -Zhelp
// check-stdout
// regex-error-pattern: -Z\s+self-profile
pub struct Foo;