about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-02-15 23:02:58 +0100
committerRalf Jung <post@ralfj.de>2020-02-15 23:02:58 +0100
commit97cc3a229bfe44d387a458fc6e25e58ee11acee3 (patch)
tree94b8e6989e5b0380212881684a040e33813e6e30 /src
parentb6aaacd9914a98d91f0abb8d727bbba14d82957c (diff)
downloadrust-97cc3a229bfe44d387a458fc6e25e58ee11acee3.tar.gz
rust-97cc3a229bfe44d387a458fc6e25e58ee11acee3.zip
fix incremental tests
Diffstat (limited to 'src')
-rw-r--r--src/test/incremental/warnings-reemitted.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/incremental/warnings-reemitted.rs b/src/test/incremental/warnings-reemitted.rs
index 5fc89395827..657bc30c088 100644
--- a/src/test/incremental/warnings-reemitted.rs
+++ b/src/test/incremental/warnings-reemitted.rs
@@ -2,8 +2,8 @@
 // compile-flags: -Coverflow-checks=on
 // build-pass (FIXME(62277): could be check-pass?)
 
-#![warn(const_err)]
+#![warn(overflow)]
 
 fn main() {
-    let _ = 255u8 + 1; //~ WARNING attempt to add with overflow
+    let _ = 255u8 + 1; //~ WARNING operation will overflow
 }