Skip to content

Handle related errors that are out of view #1

@fmdkdd

Description

@fmdkdd

If a related error is in a part of the buffer that's not currently visible, we should rather report it under the current error, alongside with the code line that triggered it. Something like this:

let z = x;
------------------------------------------
    use of moved value: `x`
let y = x;              (line 13)
    value moved here
------------------------------------------

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