Skip to content

Traits extending kinds / built-in traits #7083

Closed
@nikomatsakis

Description

@nikomatsakis

You should be able to write:

trait Foo: Sized { ... }

and then have a parameter like

fn foo<T:Foo>(...) 

where this also implies that T is Sized.

Related to #5527

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions