Skip to content

Type hint popup is misplaced in macros #3000

@0x7CFE

Description

@0x7CFE

tldr:

image

Note the beam cursor is placed on e near the end of the line, inside the format! macro. Also note the type popup is placed as if I've just hovered the closure's formal parameter e: Error.

It gets even weirder if line breaks are present:
image

commit 856e4ba126ae776753f38c00593c02c4f43be510 (HEAD -> master, origin/staging, origin/master, origin/HEAD)
Merge: 9006cec49 f08297983
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Sun Feb 2 14:05:23 2020 +0000

    Merge #2979

P.S.: 3000 get! 😋

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