-
-
Notifications
You must be signed in to change notification settings - Fork 281
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
Error with rust-nightly: type annotations needed for Box<_>
#681
Error with rust-nightly: type annotations needed for Box<_>
#681
Comments
Nevermind, I see that this has been fixed, deps just need to be updated. |
@dessalines, I am running into this issue at present with both nightly and 1.78 docker images. How did you address it? Edit: even thought time is only a recursive dependency, adding it to my time = "0.3.36" |
For me it was as simple as running |
run `cargo update --package time` due to time-rs/time#681 Release Notes: - N/A
Bumped the time crate to latest, they fixed some rust-nightly lint errors (time-rs/time#681).
Bumped the time crate to latest, they fixed some rust-nightly lint errors (time-rs/time#681). Fixes: tokio-rs#2977
Bumped the time crate to latest, they fixed some rust-nightly lint errors (time-rs/time#681). Fixes: tokio-rs#2977
If I understand it correctly, the code used to compile but doesn't with newer versions of the compiler? How is this not an issue in rustc? Something changed that broke backwards compatibility and that should not happen, right? |
I haven't looked into this at all, but my understanding from discussions elsewhere is that this was fixed by #671. |
for compatibility with newer rust compilers time-rs/time#681
# Background Recert uses the `simple_asn1` crate in order to calculate the SKID on RSA keys # Problem The `simple_asn1` crate depends on the `time` crate, which recently encountered a regression [1] due to [2] that caused the `simple_asn1` crate to fail to compile with our locked version (0.3.30) of the `time` crate. # Solution Updated the `time` crate to version 0.3.36, which contains a fix for the regression. Re-ran vendoring. [1] time-rs/time#681 [2] rust-lang/rust#125319
Just make sure mdbook-i18n-helpers >= 0.3.3 to avoid error[E0282]: type annotations needed for `Box<_>` See Also: - time-rs/time#681 - google/mdbook-i18n-helpers#198
Signed-off-by: eternal-flame-AD <[email protected]>
would it be possible to backport a fix for this? |
@iitalics That's impossible. |
Resolves: chipsalliance#361. Update fuzzer lock file to resolve: time-rs/time#681
Resolves: chipsalliance#361. Update fuzzer lock file to resolve: time-rs/time#681
Resolves: chipsalliance#361. Update fuzzer lock file to resolve: time-rs/time#681
Resolves: #361. Update fuzzer lock file to resolve: time-rs/time#681
Error:
I'll have a PR shortly, hopefully clippy's suggestion will fix.
The text was updated successfully, but these errors were encountered: