fix incremental tests
This commit is contained in:
parent
b6aaacd991
commit
97cc3a229b
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue