Skip to content

Call Hierarchy is broken #5103

@cbarrete

Description

@cbarrete

Given the following file:

fn a() {
    b()
}

fn b() {}

fn main() {
    a()
}

rust-analyzer reports no incoming calls for b and two outgoing calls (one to a and one to b). For a, it also reports one outgoing call to b and no incoming calls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions