-
Notifications
You must be signed in to change notification settings - Fork 363
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
(Minor) Compiler warnings on rust >=1.66 (const_err lint) #2455
Comments
We've not bothered to remove it, as we wanted to keep older versions of rustc (at least from our MSRV) enforcing the const-err (which we use as assertions in various places). We definitely shouldn't add a dependency to use the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Rust toolchain v >= 1.66, 3 compiler warnings are generated, due to usage of
#[deny(const_err)]
, which has been removed, and converted to a hard error.To fix:
or
#[rustversion::before(1.66)]
), so that it's active only on older versions. However, making a directive conditional may not be trivial.The text was updated successfully, but these errors were encountered: