-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Item names displayed by RLS can be from indirect dependencies #42393
Comments
Sure enough. Because it's a crate, it's not really private - you could add This is sort-of related to #19792. |
I'm not sure what is the best thing to output in this situation, but it's possible we could do better. |
Actually, I think we already solved this and you just need to use absolute paths there ( |
@arielb1 - that fix gives a different error. It's possible this new error is correct, but would require yet more steps, since the type is coming from a crate I haven't added as dependency directly on my project. After poking around, I found there is a type provided that can match called |
Automatic type alias completion. That's not something we are likely to introduce, I think. |
Save-analysis has been removed from the compiler. |
Playing around with Piston this morning, I noticed that there are sometimes cases where the compiler reports a type, but if you actually try to type this type it will error.
You can see the type on hover here as
piston_window::Texture<gfx_device_gl::Resources>
. Great! Let's type that in...Wait what? You just told me that was the type. Don't tease me.
I'm guessing this type just isn't visible to me? I'm honestly not 100% sure what is happening.
(apologies if this is a dupe)
The text was updated successfully, but these errors were encountered: