We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 400a9ba + 806f09c commit dd53768Copy full SHA for dd53768
src/librustc_error_codes/error_codes/E0579.md
@@ -1,7 +1,4 @@
1
-When matching against an exclusive range, the compiler verifies that the range
2
-is non-empty. Exclusive range patterns include the start point but not the end
3
-point, so this is equivalent to requiring the start of the range to be less
4
-than the end of the range.
+A lower range wasn't less than the upper range.
5
6
Erroneous code example:
7
@@ -17,3 +14,8 @@ fn main() {
17
14
}
18
15
19
16
```
+
+When matching against an exclusive range, the compiler verifies that the range
+is non-empty. Exclusive range patterns include the start point but not the end
20
+point, so this is equivalent to requiring the start of the range to be less
21
+than the end of the range.
0 commit comments