Skip to content

Error out against additional non-auto trait bounds  #3008

Open
@CohenArthur

Description

@CohenArthur

There needs to be special handling around bounds like these:

trait A {}
trait B {}
trait C {}

impl dyn A + B {}
impl dyn A + B + C {}

This code needs to error out because B and C are not auto traits

This depends on #3007 being solved properly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions