fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: multiple patterns overlap on their endpoints 2 --> $DIR/overlapping_range_endpoints.rs:15:22 3 | 4LL | m!(0u8, 20..=30, 30..=40); 5 | ------- ^^^^^^^ ... with this range 6 | | 7 | this range overlaps on `30_u8`... 8 | 9 = note: you likely meant to write mutually exclusive ranges 10note: the lint level is defined here 11 --> $DIR/overlapping_range_endpoints.rs:2:9 12 | 13LL | #![deny(overlapping_range_endpoints)] 14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 15 16error: multiple patterns overlap on their endpoints 17 --> $DIR/overlapping_range_endpoints.rs:16:22 18 | 19LL | m!(0u8, 30..=40, 20..=30); 20 | ------- ^^^^^^^ ... with this range 21 | | 22 | this range overlaps on `30_u8`... 23 | 24 = note: you likely meant to write mutually exclusive ranges 25 26error: multiple patterns overlap on their endpoints 27 --> $DIR/overlapping_range_endpoints.rs:19:22 28 | 29LL | m!(0u8, 20.. 30, 29..=40); 30 | ------- ^^^^^^^ ... with this range 31 | | 32 | this range overlaps on `29_u8`... 33 | 34 = note: you likely meant to write mutually exclusive ranges 35 36error: multiple patterns overlap on their endpoints 37 --> $DIR/overlapping_range_endpoints.rs:23:22 38 | 39LL | m!(0u8, 20..=30, 30..=31); 40 | ------- ^^^^^^^ ... with this range 41 | | 42 | this range overlaps on `30_u8`... 43 | 44 = note: you likely meant to write mutually exclusive ranges 45 46error: multiple patterns overlap on their endpoints 47 --> $DIR/overlapping_range_endpoints.rs:27:22 48 | 49LL | m!(0u8, 20..=30, 19..=20); 50 | ------- ^^^^^^^ ... with this range 51 | | 52 | this range overlaps on `20_u8`... 53 | 54 = note: you likely meant to write mutually exclusive ranges 55 56error: multiple patterns overlap on their endpoints 57 --> $DIR/overlapping_range_endpoints.rs:39:9 58 | 59LL | 0..=10 => {} 60 | ------ this range overlaps on `10_u8`... 61LL | 20..=30 => {} 62 | ------- this range overlaps on `20_u8`... 63LL | 10..=20 => {} 64 | ^^^^^^^ ... with this range 65 | 66 = note: you likely meant to write mutually exclusive ranges 67 68error: multiple patterns overlap on their endpoints 69 --> $DIR/overlapping_range_endpoints.rs:50:16 70 | 71LL | (true, 0..=10) => {} 72 | ------ this range overlaps on `10_u8`... 73LL | (true, 10..20) => {} 74 | ^^^^^^ ... with this range 75 | 76 = note: you likely meant to write mutually exclusive ranges 77 78error: multiple patterns overlap on their endpoints 79 --> $DIR/overlapping_range_endpoints.rs:56:14 80 | 81LL | Some(0..=10) => {} 82 | ------ this range overlaps on `10_u8`... 83LL | Some(10..20) => {} 84 | ^^^^^^ ... with this range 85 | 86 = note: you likely meant to write mutually exclusive ranges 87 88error: aborting due to 8 previous errors 89