Skip to content

Commit bb367c4

Browse files
authored
always optimize test
The error messages differ between optimized and nonoptimized mode
1 parent a406af8 commit bb367c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)