Closed rwbc closed 1 year ago
Hey there!
This particular section uses a language feature that was introduced in Rust 1.58.
You should be able to fix this problem by upgrading your Rust toolchain, for example using rustup update
.
Please let me know if you are running into any further issues!
Thanks for the info Tim,
I am surprised how often they still introduce new features in Rust ;-)
As this was just released a week ago I guess it might be available as a package for msys2 in the next two weeks. (msys2 has its own toolchains and package manager and offers a bash shell in WIN)
As Rust is still a relatively "new" language, a couple of features are not stabilized yet.
I tried changing the corresponding call to make it compile for you, but I'm also using the unstable feature str_split_whitespace_as_str
which is not available on the stable toolchain yet. Is there a way for you to use nightly
Rust?
Don't worry (no need to change your sources). I will report back after I have installed the next official rust package. Using 'nightly' would probably require a parallel installation, which would defeat the whole purpose of using msys2.
Thanks again.
Hello,
I get an error for compiling info.rs. This is on Win7 with Msys2 and cargo/rust package 1.57.0. I don't know much about Rust syntax and how format! works there, but the complained line is at the end of the built log.
Guenther