提交 5413d2e5 编写于 作者: E Eric Holk

Fix test case

Previously this was using a `.stderr` file, but that does not seem to
work for all cases. This change uses `// error-pattern:` instead.
上级 8b4f5383
// compile-flags: -A unknown_tool::foo
// check-fail
// error-pattern: unknown lint tool: `unknown_tool`
fn main() {}
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`.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册