diff options
| author | varkor <github@varkor.com> | 2018-05-21 20:50:40 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2018-08-16 20:09:04 +0100 |
| commit | 7f720304218da4d671bcbc332c0342f9405962c8 (patch) | |
| tree | ccb9b327c4d9b58e924f5c7ea81cefd04532a0b6 /src/test | |
| parent | a20cb1084a5a90cf76ca3207d42b16b9c3ab1c76 (diff) | |
| download | rust-7f720304218da4d671bcbc332c0342f9405962c8.tar.gz rust-7f720304218da4d671bcbc332c0342f9405962c8.zip | |
Fix range splitting
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/exhaustive_integer_patterns.stderr | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/exhaustive_integer_patterns.stderr b/src/test/ui/exhaustive_integer_patterns.stderr index 5a0bdebde1f..85f12dad047 100644 --- a/src/test/ui/exhaustive_integer_patterns.stderr +++ b/src/test/ui/exhaustive_integer_patterns.stderr @@ -16,11 +16,11 @@ error[E0004]: non-exhaustive patterns: `128u8...255u8` not covered LL | match x { //~ ERROR non-exhaustive patterns: `128u8...255u8` not covered | ^ pattern `128u8...255u8` not covered -error[E0004]: non-exhaustive patterns: `11u8...20u8`, `30u8...35u8`, `35u8...70u8` and 1 more not covered +error[E0004]: non-exhaustive patterns: `11u8...19u8`, `31u8...34u8`, `36u8...69u8` and 1 more not covered --> $DIR/exhaustive_integer_patterns.rs:42:11 | LL | match x { //~ ERROR non-exhaustive patterns - | ^ patterns `11u8...20u8`, `30u8...35u8`, `35u8...70u8` and 1 more not covered + | ^ patterns `11u8...19u8`, `31u8...34u8`, `36u8...69u8` and 1 more not covered error: unreachable pattern --> $DIR/exhaustive_integer_patterns.rs:53:9 @@ -28,11 +28,11 @@ error: unreachable pattern LL | -2..=20 => {} //~ ERROR unreachable pattern | ^^^^^^^ -error[E0004]: non-exhaustive patterns: `-128i8...-5i8`, `120i8...121i8` and `121i8...127i8` not covered +error[E0004]: non-exhaustive patterns: `-128i8...-6i8` and `122i8...127i8` not covered --> $DIR/exhaustive_integer_patterns.rs:50:11 | LL | match x { //~ ERROR non-exhaustive patterns - | ^ patterns `-128i8...-5i8`, `120i8...121i8` and `121i8...127i8` not covered + | ^ patterns `-128i8...-6i8` and `122i8...127i8` not covered error: aborting due to 5 previous errors |
