Skip to content

[BUG] One more generics issue (fn name<P: Type<Type>>(){}) #4

@eirnym

Description

@eirnym

Describe the bug
Plugin does nothing if generics contain specialization

Original Code (with line to generate on)

pub fn do_nada<P: AsRef<std::path::Path>>(path: P) {}

while following code works just fine

pub fn do_nada_where<P>(path: P)
where
    P: AsRef<std::path::Path>,
{
}

Desktop (please complete the following information):

  • OS: [e.g. Windows]
  • VSCode Version: 1.103.25610
  • Extension Version: 0.1.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions