Hi! I am getting these errors when I am trying to build,
--> /Users/baner75418/.cargo/registry/src/github.com-1ecc6299db9ec823/grass-0.10.7/src/parse/value/css_function.rs:327:22
|
327 | q @ ('"' | '\'') => {
| ^^^^^^^^^^
|
= note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
error[E0658]: or-patterns syntax is experimental
--> /Users/baner75418/.cargo/registry/src/github.com-1ecc6299db9ec823/grass-0.10.7/src/parse/value/css_function.rs:363:22
|
363 | c @ (' ' | '\t') => {
| ^^^^^^^^^^
|
= note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
error[E0658]: use of unstable library feature 'assoc_char_consts': recently added
--> /Users/baner75418/.cargo/registry/src/github.com-1ecc6299db9ec823/grass-0.10.7/src/parse/value/css_function.rs:94:58
|
94 | '!' | '%' | '&' | '*'..='~' | '\u{80}'..=char::MAX => buf.push(tok.kind),
| ^^^^^^^^^
|
= note: see issue #71763 <https://github.com/rust-lang/rust/issues/71763> for more information
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0658`.
error: could not compile `grass`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
This is the full error message, could some one please help me fix it, I have already visited the github links I was guided to from the error message but I didn't have a clue on what it was saying.
It looks like macOS, so I suspect they might have run brew install rust. If that's the case, @iCraft85, I suggest you run brew uninstall rust. If that uninstalls rustup and/or all your rustcs on your machine, then it means that brew was also responsible for installing rustup or other rust-tangential stuff, which, similarly, is not super desirable: in that case try to also brew uninstall as much rust-related stuff as possible, and then if you were to be missing stuff, you would be able to get it back viarustup (and if you were to be missing rustup itself, you would be able to install it viacurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh)