We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6aaacd commit 97cc3a2Copy full SHA for 97cc3a2
src/test/incremental/warnings-reemitted.rs
@@ -2,8 +2,8 @@
2
// compile-flags: -Coverflow-checks=on
3
// build-pass (FIXME(62277): could be check-pass?)
4
5
-#![warn(const_err)]
+#![warn(overflow)]
6
7
fn main() {
8
- let _ = 255u8 + 1; //~ WARNING attempt to add with overflow
+ let _ = 255u8 + 1; //~ WARNING operation will overflow
9
}
0 commit comments