Skip to content

Erroneous "conflicting implementations" message #24165

Closed
@bfops

Description

@bfops

This used to compile, but now it fails with error: conflicting implementations for trait.

trait Foo {}

impl<T> Foo for T where T: Copy {}
impl<T> Foo for Vec<T> where T: Copy {}

fn main() {
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-type-systemArea: Type system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions