Skip to content

Commit 6308cc8

Browse files
oli-obkpietroalbini
authored andcommitted
always optimize test
The error messages differ between optimized and nonoptimized mode
1 parent 210d7fc commit 6308cc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/const-eval/promoted_errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
// compile-pass
12-
12+
// compile-flags: -O
1313
fn main() {
1414
println!("{}", 0u32 - 1);
1515
//~^ WARN const_err

0 commit comments

Comments
 (0)