Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build #1

Closed
jasonhuan opened this issue Aug 1, 2021 · 4 comments
Closed

Can't build #1

jasonhuan opened this issue Aug 1, 2021 · 4 comments

Comments

@jasonhuan
Copy link

error[E0658]: use of unstable library feature 'str_split_once': newly added
--> src/main.rs:14:48
|
14 | if let Some((_, json)) = input.split_once(": ") {
| ^^^^^^^^^^
|
= note: see issue #74773 rust-lang/rust#74773 for more information

pinging @lightclient

@lightclient
Copy link
Owner

rip

@lightclient
Copy link
Owner

i must be building on nightly?

@jasonhuan
Copy link
Author

thx for the help

for anyone else reading this:
rustup default nightly
cargo +nightly build

10/10 would build again

@habovh
Copy link

habovh commented Aug 4, 2021

@jasonhuan I'd like to point out that this issues has been fixed and released on the stable channel since 1.52.0. You can check this commit for more details: rust-lang/rust@0db8349.

I think it's worth keeping people off nightly builds unless it's strictly necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants