Let's say I convert &[u8]
to Vec<u8>
calling into() on the instance of the first. Compiler is happy, but rust-analyser does not navigate to the implementation with Go to Implementations
menu. Ctrl+Click navigates to trait definition, which is not very helpful. What is your way of navigating to and finding the right implementation of a trait?
Also, intellisense auto-completion after .
lists all methods accepting self
instance as long as these methods are imported in scope. If these are not imported and you know method name exists (like .into()
) compiler is unhappy but gives you a proposal what imports you can possibly do to have the method available. Is there any way to have these "compiler suggestions" available in intellisence auto-completion?
I am not sure if people asked about it before. If not it is a feature request, @matklad Makes sense?