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