Skip to content

Extend E0623 for fn and trait objects WIP #43877

Closed
@gaurikholkar-zz

Description

@gaurikholkar-zz

Examples

fn foo<'a,'b>(x:  for<'c, 'd> fn(&'c u8, &'d u8), y: Vec<&'a u8>, z: &'b u8) {
  y.push(z); // index will be zero or one
}

cc @nikomatsakis @estebank @arielb1 @GuillaumeGomez

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsC-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