Skip to content

Commit 97cc3a2

Browse files
committed
fix incremental tests
1 parent b6aaacd commit 97cc3a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/incremental/warnings-reemitted.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// compile-flags: -Coverflow-checks=on
33
// build-pass (FIXME(62277): could be check-pass?)
44

5-
#![warn(const_err)]
5+
#![warn(overflow)]
66

77
fn main() {
8-
let _ = 255u8 + 1; //~ WARNING attempt to add with overflow
8+
let _ = 255u8 + 1; //~ WARNING operation will overflow
99
}

0 commit comments

Comments
 (0)