File tree 2 files changed +13
-6
lines changed
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
+
1
8
#![ feature( precise_pointer_size_matching) ]
2
9
#![ feature( exclusive_range_pattern) ]
3
10
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
3
3
|
4
4
LL | 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
6
6
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
9
9
|
10
10
LL | match 0usize { //~ ERROR non-exhaustive patterns
11
- | ^^^^^^ patterns `0usize` and `21usize..=18446744073709551615usize ` not covered
11
+ | ^^^^^^ patterns `0usize` and `21usize..=$USIZE_MAX ` not covered
12
12
13
13
error: aborting due to 2 previous errors
14
14
You can’t perform that action at this time.
0 commit comments