fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: unreachable pattern 2 --> $DIR/exhaustive_integer_patterns.rs:23:9 3 | 4LL | 200 => {} 5 | ^^^ 6 | 7note: the lint level is defined here 8 --> $DIR/exhaustive_integer_patterns.rs:3:9 9 | 10LL | #![deny(unreachable_patterns)] 11 | ^^^^^^^^^^^^^^^^^^^^ 12 13error[E0004]: non-exhaustive patterns: `128u8..=std::u8::MAX` not covered 14 --> $DIR/exhaustive_integer_patterns.rs:28:11 15 | 16LL | match x { 17 | ^ pattern `128u8..=std::u8::MAX` not covered 18 | 19 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 20 = note: the matched value is of type `u8` 21 22error[E0004]: non-exhaustive patterns: `11u8..=19u8`, `31u8..=34u8`, `36u8..=69u8` and 1 more not covered 23 --> $DIR/exhaustive_integer_patterns.rs:33:11 24 | 25LL | match x { 26 | ^ patterns `11u8..=19u8`, `31u8..=34u8`, `36u8..=69u8` and 1 more not covered 27 | 28 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 29 = note: the matched value is of type `u8` 30 31error: unreachable pattern 32 --> $DIR/exhaustive_integer_patterns.rs:44:9 33 | 34LL | -2..=20 => {} 35 | ^^^^^^^ 36 37error[E0004]: non-exhaustive patterns: `std::i8::MIN..=-8i8`, `-6i8`, `121i8..=124i8` and 1 more not covered 38 --> $DIR/exhaustive_integer_patterns.rs:41:11 39 | 40LL | match x { 41 | ^ patterns `std::i8::MIN..=-8i8`, `-6i8`, `121i8..=124i8` and 1 more not covered 42 | 43 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 44 = note: the matched value is of type `i8` 45 46error[E0004]: non-exhaustive patterns: `std::i8::MIN` not covered 47 --> $DIR/exhaustive_integer_patterns.rs:83:11 48 | 49LL | match 0i8 { 50 | ^^^ pattern `std::i8::MIN` not covered 51 | 52 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 53 = note: the matched value is of type `i8` 54 55error[E0004]: non-exhaustive patterns: `0i16` not covered 56 --> $DIR/exhaustive_integer_patterns.rs:91:11 57 | 58LL | match 0i16 { 59 | ^^^^ pattern `0i16` not covered 60 | 61 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 62 = note: the matched value is of type `i16` 63 64error[E0004]: non-exhaustive patterns: `128u8..=std::u8::MAX` not covered 65 --> $DIR/exhaustive_integer_patterns.rs:109:11 66 | 67LL | match 0u8 { 68 | ^^^ pattern `128u8..=std::u8::MAX` not covered 69 | 70 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 71 = note: the matched value is of type `u8` 72 73error[E0004]: non-exhaustive patterns: `(0u8, Some(_))` and `(2u8..=std::u8::MAX, Some(_))` not covered 74 --> $DIR/exhaustive_integer_patterns.rs:121:11 75 | 76LL | match (0u8, Some(())) { 77 | ^^^^^^^^^^^^^^^ patterns `(0u8, Some(_))` and `(2u8..=std::u8::MAX, Some(_))` not covered 78 | 79 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 80 = note: the matched value is of type `(u8, std::option::Option<()>)` 81 82error[E0004]: non-exhaustive patterns: `(126u8..=127u8, false)` not covered 83 --> $DIR/exhaustive_integer_patterns.rs:126:11 84 | 85LL | match (0u8, true) { 86 | ^^^^^^^^^^^ pattern `(126u8..=127u8, false)` not covered 87 | 88 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 89 = note: the matched value is of type `(u8, bool)` 90 91error: multiple patterns covering the same range 92 --> $DIR/exhaustive_integer_patterns.rs:141:9 93 | 94LL | 0 .. 2 => {} 95 | ------ this range overlaps on `1u8` 96LL | 1 ..= 2 => {} 97 | ^^^^^^^ overlapping patterns 98 | 99note: the lint level is defined here 100 --> $DIR/exhaustive_integer_patterns.rs:4:9 101 | 102LL | #![deny(overlapping_patterns)] 103 | ^^^^^^^^^^^^^^^^^^^^ 104 105error[E0004]: non-exhaustive patterns: `std::u128::MAX` not covered 106 --> $DIR/exhaustive_integer_patterns.rs:146:11 107 | 108LL | match 0u128 { 109 | ^^^^^ pattern `std::u128::MAX` not covered 110 | 111 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 112 = note: the matched value is of type `u128` 113 114error[E0004]: non-exhaustive patterns: `5u128..=std::u128::MAX` not covered 115 --> $DIR/exhaustive_integer_patterns.rs:150:11 116 | 117LL | match 0u128 { 118 | ^^^^^ pattern `5u128..=std::u128::MAX` not covered 119 | 120 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 121 = note: the matched value is of type `u128` 122 123error[E0004]: non-exhaustive patterns: `0u128..=3u128` not covered 124 --> $DIR/exhaustive_integer_patterns.rs:154:11 125 | 126LL | match 0u128 { 127 | ^^^^^ pattern `0u128..=3u128` not covered 128 | 129 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 130 = note: the matched value is of type `u128` 131 132error: unreachable pattern 133 --> $DIR/exhaustive_integer_patterns.rs:162:9 134 | 135LL | &FOO => {} 136 | ^^^^ 137 138error: aborting due to 15 previous errors 139 140For more information about this error, try `rustc --explain E0004`.