-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Destructors cause warnings about explicit modes #3596
Labels
A-frontend
Area: Compiler frontend (errors, parsing and HIR)
Milestone
Comments
ghost
assigned catamorphism
Sep 26, 2012
Fixed -- I forgot to close this. |
bors
pushed a commit
to rust-lang-ci/rust
that referenced
this issue
May 15, 2021
add tests for issue-3595
RalfJung
pushed a commit
to RalfJung/rust
that referenced
this issue
May 19, 2024
…Jung support `f*_algebraic` supports the [`f*_algebraic`](https://doc.rust-lang.org/std/intrinsics/fn.fadd_algebraic.html) intrinsics.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With
deprecated_modes
set to warn or forbid, the compiler complains about argument 1 ofdrop
for anything that has a destructor. This is confusing to the user, but happens because dtors implicitly have an argument (whose mode is alwaysby_ref
). I'm on it.The text was updated successfully, but these errors were encountered: