mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Make run-make/allow-non-lint-warnings-cmdline
into a ui test
This commit is contained in:
parent
96f9fe5488
commit
eca8d209d9
@ -1,8 +0,0 @@
|
||||
// Test that -A warnings makes the 'empty trait list for derive' warning go away.
|
||||
|
||||
use run_make_support::rustc;
|
||||
|
||||
fn main() {
|
||||
let output = rustc().input("foo.rs").arg("-Awarnings").run();
|
||||
output.assert_stderr_not_contains("warning");
|
||||
}
|
@ -1,3 +1,6 @@
|
||||
//@ compile-flags: -Awarnings
|
||||
//@ check-pass
|
||||
|
||||
#[derive()]
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct Foo;
|
Loading…
Reference in New Issue
Block a user