Skip to content

Add GenericArgs::as_closure #121

Description

@N1ark

GenericArgs is missing as_closure, which is super useful as closures have a quirky encoding into generics that make it particularly annoying to manipulate.

Relatedly, having DefId::is_closure_like would be nice!

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