2019-07-09 18:50:54 -05:00
|
|
|
error: float literals must have an integer part
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:22:12
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let .0..Y = 0 {}
|
|
|
|
| ^^ help: must have an integer part: `0.0`
|
|
|
|
|
|
|
|
error: float literals must have an integer part
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:24:16
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let X.. .0 = 0 {}
|
|
|
|
| ^^ help: must have an integer part: `0.0`
|
|
|
|
|
|
|
|
error: float literals must have an integer part
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:35:12
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let .0..=Y = 0 {}
|
|
|
|
| ^^ help: must have an integer part: `0.0`
|
|
|
|
|
|
|
|
error: float literals must have an integer part
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:37:16
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let X..=.0 = 0 {}
|
|
|
|
| ^^ help: must have an integer part: `0.0`
|
|
|
|
|
|
|
|
error: float literals must have an integer part
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:50:12
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let .0...Y = 0 {}
|
|
|
|
| ^^ help: must have an integer part: `0.0`
|
|
|
|
|
|
|
|
error: float literals must have an integer part
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:53:17
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let X... .0 = 0 {}
|
|
|
|
| ^^ help: must have an integer part: `0.0`
|
|
|
|
|
|
|
|
error: float literals must have an integer part
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:63:12
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let .0.. = 0 {}
|
|
|
|
| ^^ help: must have an integer part: `0.0`
|
|
|
|
|
2019-12-11 03:04:34 -06:00
|
|
|
error[E0586]: inclusive range with no end
|
|
|
|
--> $DIR/recover-range-pats.rs:69:13
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let 0..= = 0 {}
|
2020-01-10 23:49:43 -06:00
|
|
|
| ^^^ help: use `..` instead
|
2019-12-11 03:04:34 -06:00
|
|
|
|
|
2020-01-10 23:49:43 -06:00
|
|
|
= note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
|
2019-07-09 18:50:54 -05:00
|
|
|
|
2019-12-11 03:04:34 -06:00
|
|
|
error[E0586]: inclusive range with no end
|
|
|
|
--> $DIR/recover-range-pats.rs:70:13
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let X..= = 0 {}
|
2020-01-10 23:49:43 -06:00
|
|
|
| ^^^ help: use `..` instead
|
2019-12-11 03:04:34 -06:00
|
|
|
|
|
2020-01-10 23:49:43 -06:00
|
|
|
= note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
|
2019-07-09 18:50:54 -05:00
|
|
|
|
2019-12-11 03:04:34 -06:00
|
|
|
error[E0586]: inclusive range with no end
|
|
|
|
--> $DIR/recover-range-pats.rs:71:16
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let true..= = 0 {}
|
2020-01-10 23:49:43 -06:00
|
|
|
| ^^^ help: use `..` instead
|
2019-12-11 03:04:34 -06:00
|
|
|
|
|
2020-01-10 23:49:43 -06:00
|
|
|
= note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error: float literals must have an integer part
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:73:12
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let .0..= = 0 {}
|
|
|
|
| ^^ help: must have an integer part: `0.0`
|
|
|
|
|
2019-12-11 03:04:34 -06:00
|
|
|
error[E0586]: inclusive range with no end
|
|
|
|
--> $DIR/recover-range-pats.rs:73:14
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let .0..= = 0 {}
|
2020-01-10 23:49:43 -06:00
|
|
|
| ^^^ help: use `..` instead
|
2019-12-11 03:04:34 -06:00
|
|
|
|
|
2020-01-10 23:49:43 -06:00
|
|
|
= note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
|
2019-07-09 18:50:54 -05:00
|
|
|
|
2019-12-11 03:04:34 -06:00
|
|
|
error[E0586]: inclusive range with no end
|
|
|
|
--> $DIR/recover-range-pats.rs:79:13
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let 0... = 0 {}
|
2020-01-10 23:49:43 -06:00
|
|
|
| ^^^ help: use `..` instead
|
2019-12-11 03:04:34 -06:00
|
|
|
|
|
2020-01-10 23:49:43 -06:00
|
|
|
= note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
|
2019-07-09 18:50:54 -05:00
|
|
|
|
2019-12-11 03:04:34 -06:00
|
|
|
error[E0586]: inclusive range with no end
|
|
|
|
--> $DIR/recover-range-pats.rs:80:13
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let X... = 0 {}
|
2020-01-10 23:49:43 -06:00
|
|
|
| ^^^ help: use `..` instead
|
2019-12-11 03:04:34 -06:00
|
|
|
|
|
2020-01-10 23:49:43 -06:00
|
|
|
= note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
|
2019-07-09 18:50:54 -05:00
|
|
|
|
2019-12-11 03:04:34 -06:00
|
|
|
error[E0586]: inclusive range with no end
|
|
|
|
--> $DIR/recover-range-pats.rs:81:16
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let true... = 0 {}
|
2020-01-10 23:49:43 -06:00
|
|
|
| ^^^ help: use `..` instead
|
2019-12-11 03:04:34 -06:00
|
|
|
|
|
2020-01-10 23:49:43 -06:00
|
|
|
= note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error: float literals must have an integer part
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:83:12
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let .0... = 0 {}
|
|
|
|
| ^^ help: must have an integer part: `0.0`
|
|
|
|
|
2019-12-11 03:04:34 -06:00
|
|
|
error[E0586]: inclusive range with no end
|
|
|
|
--> $DIR/recover-range-pats.rs:83:14
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let .0... = 0 {}
|
2020-01-10 23:49:43 -06:00
|
|
|
| ^^^ help: use `..` instead
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
2020-01-10 23:49:43 -06:00
|
|
|
= note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error: float literals must have an integer part
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:93:15
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let .. .0 = 0 {}
|
|
|
|
| ^^ help: must have an integer part: `0.0`
|
|
|
|
|
|
|
|
error: float literals must have an integer part
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:103:15
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let ..=.0 = 0 {}
|
|
|
|
| ^^ help: must have an integer part: `0.0`
|
|
|
|
|
2020-01-10 23:49:43 -06:00
|
|
|
error: range-to patterns with `...` are not allowed
|
|
|
|
--> $DIR/recover-range-pats.rs:109:12
|
|
|
|
|
|
|
|
|
LL | if let ...3 = 0 {}
|
|
|
|
| ^^^ help: use `..=` instead
|
|
|
|
|
|
|
|
error: range-to patterns with `...` are not allowed
|
|
|
|
--> $DIR/recover-range-pats.rs:111:12
|
|
|
|
|
|
|
|
|
LL | if let ...Y = 0 {}
|
|
|
|
| ^^^ help: use `..=` instead
|
|
|
|
|
|
|
|
error: range-to patterns with `...` are not allowed
|
|
|
|
--> $DIR/recover-range-pats.rs:113:12
|
|
|
|
|
|
|
|
|
LL | if let ...true = 0 {}
|
|
|
|
| ^^^ help: use `..=` instead
|
|
|
|
|
2019-07-09 18:50:54 -05:00
|
|
|
error: float literals must have an integer part
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:116:15
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let ....3 = 0 {}
|
|
|
|
| ^^ help: must have an integer part: `0.3`
|
|
|
|
|
2020-01-10 23:49:43 -06:00
|
|
|
error: range-to patterns with `...` are not allowed
|
|
|
|
--> $DIR/recover-range-pats.rs:116:12
|
|
|
|
|
|
|
|
|
LL | if let ....3 = 0 {}
|
|
|
|
| ^^^ help: use `..=` instead
|
|
|
|
|
|
|
|
error: range-to patterns with `...` are not allowed
|
|
|
|
--> $DIR/recover-range-pats.rs:137:17
|
|
|
|
|
|
|
|
|
LL | let ...$e;
|
|
|
|
| ^^^ help: use `..=` instead
|
|
|
|
...
|
|
|
|
LL | mac!(0);
|
|
|
|
| -------- in this macro invocation
|
|
|
|
|
2019-12-11 03:04:34 -06:00
|
|
|
error[E0586]: inclusive range with no end
|
|
|
|
--> $DIR/recover-range-pats.rs:141:19
|
2019-07-29 21:22:09 -05:00
|
|
|
|
|
|
|
|
LL | let $e...;
|
2020-01-10 23:49:43 -06:00
|
|
|
| ^^^ help: use `..` instead
|
2019-07-29 21:22:09 -05:00
|
|
|
...
|
|
|
|
LL | mac!(0);
|
|
|
|
| -------- in this macro invocation
|
2019-12-11 03:04:34 -06:00
|
|
|
|
|
2020-01-10 23:49:43 -06:00
|
|
|
= note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
|
2019-07-29 21:22:09 -05:00
|
|
|
|
2019-12-11 03:04:34 -06:00
|
|
|
error[E0586]: inclusive range with no end
|
|
|
|
--> $DIR/recover-range-pats.rs:142:19
|
2019-07-29 21:22:09 -05:00
|
|
|
|
|
|
|
|
LL | let $e..=;
|
2020-01-10 23:49:43 -06:00
|
|
|
| ^^^ help: use `..` instead
|
2019-07-29 21:22:09 -05:00
|
|
|
...
|
|
|
|
LL | mac!(0);
|
|
|
|
| -------- in this macro invocation
|
2019-12-11 03:04:34 -06:00
|
|
|
|
|
2020-01-10 23:49:43 -06:00
|
|
|
= note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
|
2019-07-29 21:22:09 -05:00
|
|
|
|
2019-07-09 18:50:54 -05:00
|
|
|
error: `...` range patterns are deprecated
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:42:13
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let 0...3 = 0 {}
|
|
|
|
| ^^^ help: use `..=` for an inclusive range
|
|
|
|
|
|
2020-01-22 17:57:38 -06:00
|
|
|
note: the lint level is defined here
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:8:9
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | #![deny(ellipsis_inclusive_range_patterns)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: `...` range patterns are deprecated
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:43:13
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let 0...Y = 0 {}
|
|
|
|
| ^^^ help: use `..=` for an inclusive range
|
|
|
|
|
|
|
|
error: `...` range patterns are deprecated
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:44:13
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let X...3 = 0 {}
|
|
|
|
| ^^^ help: use `..=` for an inclusive range
|
|
|
|
|
|
|
|
error: `...` range patterns are deprecated
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:45:13
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let X...Y = 0 {}
|
|
|
|
| ^^^ help: use `..=` for an inclusive range
|
|
|
|
|
|
|
|
error: `...` range patterns are deprecated
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:46:16
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let true...Y = 0 {}
|
|
|
|
| ^^^ help: use `..=` for an inclusive range
|
|
|
|
|
|
|
|
error: `...` range patterns are deprecated
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:48:13
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let X...true = 0 {}
|
|
|
|
| ^^^ help: use `..=` for an inclusive range
|
|
|
|
|
|
|
|
error: `...` range patterns are deprecated
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:50:14
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let .0...Y = 0 {}
|
|
|
|
| ^^^ help: use `..=` for an inclusive range
|
|
|
|
|
|
|
|
error: `...` range patterns are deprecated
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:53:13
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let X... .0 = 0 {}
|
|
|
|
| ^^^ help: use `..=` for an inclusive range
|
|
|
|
|
2019-07-29 21:22:09 -05:00
|
|
|
error: `...` range patterns are deprecated
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:126:20
|
2019-07-29 21:22:09 -05:00
|
|
|
|
|
|
|
|
LL | let $e1...$e2;
|
|
|
|
| ^^^ help: use `..=` for an inclusive range
|
|
|
|
...
|
|
|
|
LL | mac2!(0, 1);
|
|
|
|
| ------------ in this macro invocation
|
|
|
|
|
2019-07-09 18:50:54 -05:00
|
|
|
error[E0029]: only char and numeric types are allowed in range patterns
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:20:12
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let true..Y = 0 {}
|
2019-11-12 17:27:53 -06:00
|
|
|
| ^^^^ - this is of type `u8`
|
|
|
|
| |
|
|
|
|
| this is of type `bool` but it should be `char` or numeric
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error[E0029]: only char and numeric types are allowed in range patterns
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:21:15
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let X..true = 0 {}
|
2019-11-12 17:27:53 -06:00
|
|
|
| - ^^^^ this is of type `bool` but it should be `char` or numeric
|
|
|
|
| |
|
|
|
|
| this is of type `u8`
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:22:12
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let .0..Y = 0 {}
|
2019-12-13 16:33:58 -06:00
|
|
|
| ^^ - this is of type `u8`
|
|
|
|
| |
|
|
|
|
| expected integer, found floating-point number
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:24:16
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let X.. .0 = 0 {}
|
2019-12-30 02:08:18 -06:00
|
|
|
| - ^^ - this expression has type `u8`
|
|
|
|
| | |
|
|
|
|
| | expected integer, found floating-point number
|
2019-12-13 16:33:58 -06:00
|
|
|
| this is of type `u8`
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error[E0029]: only char and numeric types are allowed in range patterns
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:33:12
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let true..=Y = 0 {}
|
2019-11-12 17:27:53 -06:00
|
|
|
| ^^^^ - this is of type `u8`
|
|
|
|
| |
|
|
|
|
| this is of type `bool` but it should be `char` or numeric
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error[E0029]: only char and numeric types are allowed in range patterns
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:34:16
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let X..=true = 0 {}
|
2019-11-12 17:27:53 -06:00
|
|
|
| - ^^^^ this is of type `bool` but it should be `char` or numeric
|
|
|
|
| |
|
|
|
|
| this is of type `u8`
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:35:12
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let .0..=Y = 0 {}
|
2019-12-13 16:33:58 -06:00
|
|
|
| ^^ - this is of type `u8`
|
|
|
|
| |
|
|
|
|
| expected integer, found floating-point number
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:37:16
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let X..=.0 = 0 {}
|
2019-12-30 02:08:18 -06:00
|
|
|
| - ^^ - this expression has type `u8`
|
|
|
|
| | |
|
|
|
|
| | expected integer, found floating-point number
|
2019-12-13 16:33:58 -06:00
|
|
|
| this is of type `u8`
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error[E0029]: only char and numeric types are allowed in range patterns
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:46:12
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let true...Y = 0 {}
|
2019-11-12 17:27:53 -06:00
|
|
|
| ^^^^ - this is of type `u8`
|
|
|
|
| |
|
|
|
|
| this is of type `bool` but it should be `char` or numeric
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error[E0029]: only char and numeric types are allowed in range patterns
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:48:16
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let X...true = 0 {}
|
2019-11-12 17:27:53 -06:00
|
|
|
| - ^^^^ this is of type `bool` but it should be `char` or numeric
|
|
|
|
| |
|
|
|
|
| this is of type `u8`
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:50:12
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let .0...Y = 0 {}
|
2019-12-13 16:33:58 -06:00
|
|
|
| ^^ - this is of type `u8`
|
|
|
|
| |
|
|
|
|
| expected integer, found floating-point number
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:53:17
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let X... .0 = 0 {}
|
2019-12-30 02:08:18 -06:00
|
|
|
| - ^^ - this expression has type `u8`
|
|
|
|
| | |
|
|
|
|
| | expected integer, found floating-point number
|
2019-12-13 16:33:58 -06:00
|
|
|
| this is of type `u8`
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error[E0029]: only char and numeric types are allowed in range patterns
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:61:12
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let true.. = 0 {}
|
2019-11-12 17:27:53 -06:00
|
|
|
| ^^^^ this is of type `bool` but it should be `char` or numeric
|
2019-07-09 18:50:54 -05:00
|
|
|
|
2019-07-23 21:01:38 -05:00
|
|
|
error[E0308]: mismatched types
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:63:12
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let .0.. = 0 {}
|
2019-12-13 16:33:58 -06:00
|
|
|
| ^^ expected integer, found floating-point number
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error[E0029]: only char and numeric types are allowed in range patterns
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:71:12
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let true..= = 0 {}
|
2019-11-12 17:27:53 -06:00
|
|
|
| ^^^^ this is of type `bool` but it should be `char` or numeric
|
2019-07-09 18:50:54 -05:00
|
|
|
|
2019-07-23 21:01:38 -05:00
|
|
|
error[E0308]: mismatched types
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:73:12
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let .0..= = 0 {}
|
2019-12-13 16:33:58 -06:00
|
|
|
| ^^ expected integer, found floating-point number
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error[E0029]: only char and numeric types are allowed in range patterns
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:81:12
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let true... = 0 {}
|
2019-11-12 17:27:53 -06:00
|
|
|
| ^^^^ this is of type `bool` but it should be `char` or numeric
|
2019-07-09 18:50:54 -05:00
|
|
|
|
2019-07-23 21:01:38 -05:00
|
|
|
error[E0308]: mismatched types
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:83:12
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let .0... = 0 {}
|
2019-12-13 16:33:58 -06:00
|
|
|
| ^^ expected integer, found floating-point number
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error[E0029]: only char and numeric types are allowed in range patterns
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:91:14
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let ..true = 0 {}
|
2019-11-12 17:27:53 -06:00
|
|
|
| ^^^^ this is of type `bool` but it should be `char` or numeric
|
2019-07-09 18:50:54 -05:00
|
|
|
|
2019-07-23 21:01:38 -05:00
|
|
|
error[E0308]: mismatched types
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:93:15
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let .. .0 = 0 {}
|
2019-12-13 16:33:58 -06:00
|
|
|
| ^^ expected integer, found floating-point number
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error[E0029]: only char and numeric types are allowed in range patterns
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:101:15
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let ..=true = 0 {}
|
2019-11-12 17:27:53 -06:00
|
|
|
| ^^^^ this is of type `bool` but it should be `char` or numeric
|
2019-07-09 18:50:54 -05:00
|
|
|
|
2019-07-23 21:01:38 -05:00
|
|
|
error[E0308]: mismatched types
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:103:15
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let ..=.0 = 0 {}
|
2019-12-13 16:33:58 -06:00
|
|
|
| ^^ expected integer, found floating-point number
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
error[E0029]: only char and numeric types are allowed in range patterns
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:113:15
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let ...true = 0 {}
|
2019-11-12 17:27:53 -06:00
|
|
|
| ^^^^ this is of type `bool` but it should be `char` or numeric
|
2019-07-09 18:50:54 -05:00
|
|
|
|
2019-07-23 21:01:38 -05:00
|
|
|
error[E0308]: mismatched types
|
2019-12-11 03:04:34 -06:00
|
|
|
--> $DIR/recover-range-pats.rs:116:15
|
2019-07-09 18:50:54 -05:00
|
|
|
|
|
|
|
|
LL | if let ....3 = 0 {}
|
2019-12-13 16:33:58 -06:00
|
|
|
| ^^ expected integer, found floating-point number
|
2019-07-09 18:50:54 -05:00
|
|
|
|
2019-12-11 03:04:34 -06:00
|
|
|
error: aborting due to 60 previous errors
|
2019-07-09 18:50:54 -05:00
|
|
|
|
2019-12-11 03:04:34 -06:00
|
|
|
Some errors have detailed explanations: E0029, E0308, E0586.
|
2019-07-09 18:50:54 -05:00
|
|
|
For more information about an error, try `rustc --explain E0029`.
|