Skip to content

Item names displayed by RLS can be from indirect dependencies #42393

Closed as not planned
@sophiajt

Description

@sophiajt

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.

image

You can see the type on hover here as piston_window::Texture<gfx_device_gl::Resources>. Great! Let's type that in...

image

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-save-analysisArea: saving results of analyses such as inference and borrowck results to a file.C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions