blob: 1e91b06079267b6374128eb327942d939f3b990d [file] [log] [blame]
#![feature(rustc_attrs)]
#[rustc_must_implement_one_of(a, a)]
//~^ ERROR functions names are duplicated
trait Trait {
fn a() {}
}
#[rustc_must_implement_one_of(b, a, a, c, b, c)]
//~^ ERROR functions names are duplicated
//~| ERROR functions names are duplicated
//~| ERROR functions names are duplicated
trait Trait1 {
fn a() {}
fn b() {}
fn c() {}
}
fn main() {}