You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove mitigations for incorrect node args
This change https://github.com/rust-lang/rust/pull/118420/files#r1419874371 adds a missing `write_args` to properly record node args for lang-item calls.
Thus, in the `unnecessary_to_owned` lint, this ensures that the `call_generic_args` extracted by `get_callee_generic_args_and_args` are always correct, and we can remove the mitigation for #9504 and #10021 since the root cause has been fixed.
I'm not sure if there is other now-unnecessary code that can be removed, but this is the one I found when investigating #11965 (comment).
changelog: none
Summary
First, thank you so much for the Clippy team for your amazing work.
Sadly, it seems #9505 has not fixed the error in all cases. When running clippy using November 30th nightly I still get the error on this repository.
To reproduce:
git clone https://github.com/oxigraph/rio cd rio cargo +nightly clippy
This is maybe a duplicate of #9675
Feel free to reach out if you need help.
Version
Error output
Backtrace
The text was updated successfully, but these errors were encountered: