Closed NNBnh closed 2 years ago
In which rustc version does that happen?
❯ rustc -V
rustc 1.56.1
❯ cargo -V
cargo 1.56.0
I'm think that such version is too old for pepper. Is it possible for you to upgrade it? I know that it works at least with 1.58.0.
Otherwise, you could try changing those lines that take an array ref to a slice by adding a [..]
at the end of the array expression.
Like for example:
self.0 = self.0.trim_start_matches(&[' ', '\t']);
becomes
self.0 = self.0.trim_start_matches(&[' ', '\t'][..]);
❯ rustc -V
rustc 1.58.1
~
❯ cargo -V
cargo 1.58.0
Okay this seem to be fixed, thanks!
Here are the logs:
I'm running NixOS 21.11