Skip to content

Unresolved tuple indices should emit unresolvedReferences #11349

Open
@Veykril

Description

@Veykril
struct Foo(u32);

fn foo() {
    Foo(0).1;
         //^ should be marked as unresolvedReference as it does not actually resolve to a field
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-highlighting(semantic) token highlighting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions