]> git.proxmox.com Git - rustc.git/blame - src/test/ui/feature-gates/feature-gate-precise_pointer_size_matching.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / feature-gates / feature-gate-precise_pointer_size_matching.stderr
CommitLineData
0731742a
XL
1error[E0004]: non-exhaustive patterns: `_` not covered
2 --> $DIR/feature-gate-precise_pointer_size_matching.rs:6:11
3 |
532ac7d7 4LL | match 0usize {
0731742a 5 | ^^^^^^ pattern `_` not covered
532ac7d7
XL
6 |
7 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
ba9703b0 8 = note: the matched value is of type `usize`
f035d41b
XL
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
0731742a
XL
11
12error[E0004]: non-exhaustive patterns: `_` not covered
13 --> $DIR/feature-gate-precise_pointer_size_matching.rs:10:11
14 |
532ac7d7 15LL | match 0isize {
0731742a 16 | ^^^^^^ pattern `_` not covered
532ac7d7
XL
17 |
18 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
ba9703b0 19 = note: the matched value is of type `isize`
f035d41b
XL
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
0731742a
XL
22
23error: aborting due to 2 previous errors
24
25For more information about this error, try `rustc --explain E0004`.