Build failure (exclusive range pattern syntax is experimental)
Attempting to build (0.4.9) gives an build error:
```
error[E0658]: exclusive range pattern syntax is experimental
--> src/ui/peakmeter.rs:84:25
|
84 | 0..GREEN_LIMIT => color_green,
| ^^^^^^^^^^^^^^
|
= note: see issue #37854 <https://github.com/rust-lang/rust/issues/37854> for more information
= help: use an inclusive range pattern, like N..=M
error[E0658]: exclusive range pattern syntax is experimental
--> src/ui/peakmeter.rs:85:25
|
85 | GREEN_LIMIT..YELLOW_LIMIT => color_yellow,
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #37854 <https://github.com/rust-lang/rust/issues/37854> for more information
= help: use an inclusive range pattern, like N..=M
```
Build command:
```
meson compile -C build
```
2 条评论