]> git.proxmox.com Git - rustc.git/blob - src/test/ui/half-open-range-patterns/exclusive_range_pattern_syntax_collision.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / half-open-range-patterns / exclusive_range_pattern_syntax_collision.stderr
1 error[E0308]: mismatched types
2 --> $DIR/exclusive_range_pattern_syntax_collision.rs:6:13
3 |
4 LL | match [5..4, 99..105, 43..44] {
5 | ----------------------- this expression has type `[std::ops::Range<{integer}>; 3]`
6 LL | [_, 99.., _] => {},
7 | ^^ expected struct `std::ops::Range`, found integer
8 |
9 = note: expected struct `std::ops::Range<{integer}>`
10 found type `{integer}`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0308`.