Enable -Zlint-mir by default for mir-opt tests
This commit is contained in:
parent
532080cfcc
commit
ba430a36c0
@ -2445,6 +2445,7 @@ fn make_compile_args(
|
||||
"-Copt-level=1",
|
||||
&zdump_arg,
|
||||
"-Zvalidate-mir",
|
||||
"-Zlint-mir",
|
||||
"-Zdump-mir-exclude-pass-number",
|
||||
]);
|
||||
if let Some(pass) = &self.props.mir_unit_test {
|
||||
|
@ -1,3 +1,4 @@
|
||||
// compile-flags: -Zlint-mir=no
|
||||
// unit-test: ReferencePropagation
|
||||
// needs-unwind
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user