Migrate run-make/allow-non-lint-warnings-cmdline
to rmake.rs
by GuillaumeGomez · Pull Request #126386 · rust-lang/rust (original) (raw)
Discussion: I thought about this a bit, could this be written as a UI test? Something like
//@ compile-flags: -Awarnings //@ check-pass
#[derive()] #[derive(Copy, Clone)] pub struct Foo;
pub fn main() {}
and then obviously the stderr would be blessed which would not have any warnings?
I'm trying this locally, let me get back to you.