Skip to content

improve case with both anonymous lifetime parameters in functions and trait objects. #43276

Closed
@gaurikholkar-zz

Description

@gaurikholkar-zz

An example of the above iss

fn foo(x:  fn(&u8, &u8), mut y: Vec<&u8>, z: &u8) {
  y.push(z); 
}

cc @nikomatsakis

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-lifetimesArea: Lifetimes / regionsC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions