1 error[E0004]: non-exhaustive patterns: `_` not covered
2 --> $DIR/pointer-sized-int-deny.rs:10:11
5 | ^^^^^^ pattern `_` not covered
7 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
8 = note: the matched value is of type `usize`
9 = note: `usize` does not have a fixed maximum value, so a wildcard `_` is necessary to match exhaustively
10 = help: add `#![feature(precise_pointer_size_matching)]` to the crate attributes to enable precise `usize` matching
12 error[E0004]: non-exhaustive patterns: `_` not covered
13 --> $DIR/pointer-sized-int-deny.rs:15:11
16 | ^^^^^^ pattern `_` not covered
18 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
19 = note: the matched value is of type `isize`
20 = note: `isize` does not have a fixed maximum value, so a wildcard `_` is necessary to match exhaustively
21 = help: add `#![feature(precise_pointer_size_matching)]` to the crate attributes to enable precise `isize` matching
23 error[E0004]: non-exhaustive patterns: `_` not covered
24 --> $DIR/pointer-sized-int-deny.rs:20:8
26 LL | m!(0usize, 0..=usize::MAX);
27 | ^^^^^^ pattern `_` not covered
29 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
30 = note: the matched value is of type `usize`
31 = note: `usize` does not have a fixed maximum value, so a wildcard `_` is necessary to match exhaustively
32 = help: add `#![feature(precise_pointer_size_matching)]` to the crate attributes to enable precise `usize` matching
34 error[E0004]: non-exhaustive patterns: `_` not covered
35 --> $DIR/pointer-sized-int-deny.rs:22:8
37 LL | m!(0usize, 0..5 | 5..=usize::MAX);
38 | ^^^^^^ pattern `_` not covered
40 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
41 = note: the matched value is of type `usize`
42 = note: `usize` does not have a fixed maximum value, so a wildcard `_` is necessary to match exhaustively
43 = help: add `#![feature(precise_pointer_size_matching)]` to the crate attributes to enable precise `usize` matching
45 error[E0004]: non-exhaustive patterns: `_` not covered
46 --> $DIR/pointer-sized-int-deny.rs:24:8
48 LL | m!(0usize, 0..usize::MAX | usize::MAX);
49 | ^^^^^^ pattern `_` not covered
51 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
52 = note: the matched value is of type `usize`
53 = note: `usize` does not have a fixed maximum value, so a wildcard `_` is necessary to match exhaustively
54 = help: add `#![feature(precise_pointer_size_matching)]` to the crate attributes to enable precise `usize` matching
56 error[E0004]: non-exhaustive patterns: `(_, _)` not covered
57 --> $DIR/pointer-sized-int-deny.rs:26:8
59 LL | m!((0usize, true), (0..5, true) | (5..=usize::MAX, true) | (0..=usize::MAX, false));
60 | ^^^^^^^^^^^^^^ pattern `(_, _)` not covered
62 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
63 = note: the matched value is of type `(usize, bool)`
65 error[E0004]: non-exhaustive patterns: `_` not covered
66 --> $DIR/pointer-sized-int-deny.rs:29:8
68 LL | m!(0isize, isize::MIN..=isize::MAX);
69 | ^^^^^^ pattern `_` not covered
71 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
72 = note: the matched value is of type `isize`
73 = note: `isize` does not have a fixed maximum value, so a wildcard `_` is necessary to match exhaustively
74 = help: add `#![feature(precise_pointer_size_matching)]` to the crate attributes to enable precise `isize` matching
76 error[E0004]: non-exhaustive patterns: `_` not covered
77 --> $DIR/pointer-sized-int-deny.rs:31:8
79 LL | m!(0isize, isize::MIN..5 | 5..=isize::MAX);
80 | ^^^^^^ pattern `_` not covered
82 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
83 = note: the matched value is of type `isize`
84 = note: `isize` does not have a fixed maximum value, so a wildcard `_` is necessary to match exhaustively
85 = help: add `#![feature(precise_pointer_size_matching)]` to the crate attributes to enable precise `isize` matching
87 error[E0004]: non-exhaustive patterns: `_` not covered
88 --> $DIR/pointer-sized-int-deny.rs:33:8
90 LL | m!(0isize, isize::MIN..isize::MAX | isize::MAX);
91 | ^^^^^^ pattern `_` not covered
93 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
94 = note: the matched value is of type `isize`
95 = note: `isize` does not have a fixed maximum value, so a wildcard `_` is necessary to match exhaustively
96 = help: add `#![feature(precise_pointer_size_matching)]` to the crate attributes to enable precise `isize` matching
98 error[E0004]: non-exhaustive patterns: `(_, _)` not covered
99 --> $DIR/pointer-sized-int-deny.rs:35:8
101 LL | m!((0isize, true), (isize::MIN..5, true)
102 | ^^^^^^^^^^^^^^ pattern `(_, _)` not covered
104 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
105 = note: the matched value is of type `(isize, bool)`
107 error[E0004]: non-exhaustive patterns: `_` not covered
108 --> $DIR/pointer-sized-int-deny.rs:39:11
111 | ^^^^^^ pattern `_` not covered
113 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
114 = note: the matched value is of type `isize`
115 = note: `isize` does not have a fixed maximum value, so a wildcard `_` is necessary to match exhaustively
116 = help: add `#![feature(precise_pointer_size_matching)]` to the crate attributes to enable precise `isize` matching
118 error[E0004]: non-exhaustive patterns: type `usize` is non-empty
119 --> $DIR/pointer-sized-int-deny.rs:46:11
124 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
125 = note: the matched value is of type `usize`
127 error: aborting due to 12 previous errors
129 For more information about this error, try `rustc --explain E0004`.