Hello ! I'm wondering if it's possible to let rust-analyzer delete all my unused imports on save ? With a specific settings ? If not do you think it could be interesting and feasible to implement this kind of settings in rust-analyzer ?
deleting unused imports requires that our name resolution and trait solving is 100% correct, otherwise it's going to be very annoying, and we're not there yet
Ok yes I understand. BTW as you're there @Florian Diebold I'm also wondering if you already wrote a blog post or something like that about how you implemented type inference in rust-analyzer. I would be very interested by this kind of content :D
Oh, I don't know, I mostly just reimplemented things from rustc in a more simple form, and in many cases gradually learned why they are as complicated as they are in rustc ;)
Could be very interesting to read something on this subject :)