Skip to content

Completion stops working in macros #2158

@Matelasse

Description

@Matelasse

Specifically in prtinln! macro.
In the following code where ┃ is the cursor position

struct Test {
    i: char,
    t: i8,
    w: i8,
}
fn main() {
  let t = Test { i: 'a', t: 0, w: 0 };
  t.// completion works here
  println!("{}", t.) // completion does not work here
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-completionautocompletionA-macromacro expansionE-has-instructionsIssue has some instructions and pointers to code to get startedfunA technically challenging issue with high impact

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions