Skip to content

overlapping instances should be detected for inherited traits #3982

Closed
@brson

Description

@brson

A simple example

// error-pattern: what

trait Foo {
    fn f();
}

trait Bar : Foo {
    fn g();
}

struct A {
    x: int
}

impl A : Bar {
    fn g() { }
    fn f() { }
}

impl A : Foo {
    fn f() { }
}

fn main() {
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions