diff options
| author | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2018-01-31 10:20:30 +0100 |
|---|---|---|
| committer | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2018-03-08 08:34:16 +0100 |
| commit | 8c53d54b98edd77e32fbf4f4fd27d312b251ec6b (patch) | |
| tree | a60c2a76b5cbd2e1f001088726acc12f98eaf23f /src/test/compile-fail/const-eval-overflow2.rs | |
| parent | d2f363ba89f41f3abb1e85d44eaae93ea338d3a4 (diff) | |
| download | rust-8c53d54b98edd77e32fbf4f4fd27d312b251ec6b.tar.gz rust-8c53d54b98edd77e32fbf4f4fd27d312b251ec6b.zip | |
Update tests
Diffstat (limited to 'src/test/compile-fail/const-eval-overflow2.rs')
| -rw-r--r-- | src/test/compile-fail/const-eval-overflow2.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/test/compile-fail/const-eval-overflow2.rs b/src/test/compile-fail/const-eval-overflow2.rs index ef1cdb2814f..d715847e03f 100644 --- a/src/test/compile-fail/const-eval-overflow2.rs +++ b/src/test/compile-fail/const-eval-overflow2.rs @@ -23,64 +23,64 @@ use std::{u8, u16, u32, u64, usize}; const VALS_I8: (i8,) = //~^ ERROR constant evaluation error + //~| ERROR constant evaluation error //~| attempt to subtract with overflow ( i8::MIN - 1, - //~^ ERROR constant evaluation error ); const VALS_I16: (i16,) = //~^ ERROR constant evaluation error + //~| ERROR constant evaluation error //~| attempt to subtract with overflow ( i16::MIN - 1, - //~^ ERROR constant evaluation error ); const VALS_I32: (i32,) = //~^ ERROR constant evaluation error + //~| ERROR constant evaluation error //~| attempt to subtract with overflow ( i32::MIN - 1, - //~^ ERROR constant evaluation error ); const VALS_I64: (i64,) = //~^ ERROR constant evaluation error + //~| ERROR constant evaluation error //~| attempt to subtract with overflow ( i64::MIN - 1, - //~^ ERROR constant evaluation error ); const VALS_U8: (u8,) = //~^ ERROR constant evaluation error + //~| ERROR constant evaluation error //~| attempt to subtract with overflow ( u8::MIN - 1, - //~^ ERROR constant evaluation error ); const VALS_U16: (u16,) = ( //~^ ERROR constant evaluation error + //~| ERROR constant evaluation error //~| attempt to subtract with overflow u16::MIN - 1, - //~^ ERROR constant evaluation error ); const VALS_U32: (u32,) = ( //~^ ERROR constant evaluation error + //~| ERROR constant evaluation error //~| attempt to subtract with overflow u32::MIN - 1, - //~^ ERROR constant evaluation error ); const VALS_U64: (u64,) = //~^ ERROR constant evaluation error + //~| ERROR constant evaluation error //~| attempt to subtract with overflow ( u64::MIN - 1, - //~^ ERROR constant evaluation error ); fn main() { |
