File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 1+ // normalize-stderr-32bit: "-2147483648isize" -> "$$ISIZE_MIN"
2+ // normalize-stderr-64bit: "-9223372036854775808isize" -> "$$ISIZE_MIN"
3+ // normalize-stderr-32bit: "2147483647isize" -> "$$ISIZE_MAX"
4+ // normalize-stderr-64bit: "9223372036854775807isize" -> "$$ISIZE_MAX"
5+ // normalize-stderr-32bit: "4294967295usize" -> "$$USIZE_MAX"
6+ // normalize-stderr-64bit: "18446744073709551615usize" -> "$$USIZE_MAX"
7+
18#![ feature( precise_pointer_size_matching) ]
29#![ feature( exclusive_range_pattern) ]
310
Original file line number Diff line number Diff line change 1- error[E0004]: non-exhaustive patterns: `-9223372036854775808isize ..=-6isize` and `21isize..=9223372036854775807isize ` not covered
2- --> $DIR/precise_pointer_size_matching.rs:17 :11
1+ error[E0004]: non-exhaustive patterns: `$ISIZE_MIN ..=-6isize` and `21isize..=$ISIZE_MAX ` not covered
2+ --> $DIR/precise_pointer_size_matching.rs:24 :11
33 |
44LL | match 0isize { //~ ERROR non-exhaustive patterns
5- | ^^^^^^ patterns `-9223372036854775808isize ..=-6isize` and `21isize..=9223372036854775807isize ` not covered
5+ | ^^^^^^ patterns `$ISIZE_MIN ..=-6isize` and `21isize..=$ISIZE_MAX ` not covered
66
7- error[E0004]: non-exhaustive patterns: `0usize` and `21usize..=18446744073709551615usize ` not covered
8- --> $DIR/precise_pointer_size_matching.rs:22 :11
7+ error[E0004]: non-exhaustive patterns: `0usize` and `21usize..=$USIZE_MAX ` not covered
8+ --> $DIR/precise_pointer_size_matching.rs:29 :11
99 |
1010LL | match 0usize { //~ ERROR non-exhaustive patterns
11- | ^^^^^^ patterns `0usize` and `21usize..=18446744073709551615usize ` not covered
11+ | ^^^^^^ patterns `0usize` and `21usize..=$USIZE_MAX ` not covered
1212
1313error: aborting due to 2 previous errors
1414
You can’t perform that action at this time.
0 commit comments