diff --git a/src/test/ui/lint/command-line-register-unknown-lint-tool.rs b/src/test/ui/lint/command-line-register-unknown-lint-tool.rs index 435e951c809ba7de24e0ff01c6b13e54facca485..59fc02000950762801f3f530e91e559a52b12552 100644 --- a/src/test/ui/lint/command-line-register-unknown-lint-tool.rs +++ b/src/test/ui/lint/command-line-register-unknown-lint-tool.rs @@ -1,4 +1,4 @@ // compile-flags: -A unknown_tool::foo -// check-fail +// error-pattern: unknown lint tool: `unknown_tool` fn main() {} diff --git a/src/test/ui/lint/command-line-register-unknown-lint-tool.stderr b/src/test/ui/lint/command-line-register-unknown-lint-tool.stderr deleted file mode 100644 index b7c5893a0ea862de76ba778f8631cc7f14b90a5b..0000000000000000000000000000000000000000 --- a/src/test/ui/lint/command-line-register-unknown-lint-tool.stderr +++ /dev/null @@ -1,11 +0,0 @@ -error[E0602]: unknown lint tool: `unknown_tool` - | - = note: requested on the command line with `-A foo` - -error[E0602]: unknown lint tool: `unknown_tool` - | - = note: requested on the command line with `-A foo` - -error: aborting due to 2 previous errors - -For more information about this error, try `rustc --explain E0602`.