-
-
Notifications
You must be signed in to change notification settings - Fork 774
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
Explicitly use edition = "2015"
#2259
Conversation
Oh, well, this way rustc |
Now it started giving this error:
|
Thank you for testing this, @HamzaYasin1! I don't know how to run cargo for older Also, |
When you run command , so it will show you all the installed version that you can use.
You can see this link for toolchain changes Yes Serde doesn't contain any runtime folder as of my knowledge. |
Well, |
Probably that code was built in 2018 edition and now it is build in 2015 edition. |
But what code? :) Afaik |
Considering how rust-lang/cargo#10954 was fixed, this should not be necessary and the problem should be automatically resolved when the maintainer creates a new release using the nightly toolchain after nightly-2022-08-13 (tomorrow). |
@taiki-e, ah, I didn't see the rust-lang/cargo#10954. Yes, that's the (only) correct solution. |
This way
cargo package
won't implictily insert aresolver = "1"
configuration. This fixes the inadversial MSRV bump mentioned in issue #2255.