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
IMO, Traits should be auto-imported as _ if https://rust-lang.github.io/rust-clippy/master/index.html#unused_trait_names is enabled and I'm not actively trying to import the trait name. I'm not entirely sure whether changing behavior depending on clippy configuration is in scope, though, or whether this behavior is better implemented on the editor side of things.
Activity
ChayimFriedman2 commentedon Jan 2, 2025
We don't have access to Clippy config. We can however provide a setting.
edwloef commentedon Jan 2, 2025
Oh, yeah that makes much more sense in this context 😆
Veykril commentedon Jan 2, 2025
I assume this is about importing completions? Given that the assist already allows you to pick which form you want
edwloef commentedon Jan 2, 2025
Yes, it is.
unused_trait_names
clippy lint and runclippy --fix
jj-vcs/jj#6033