blob: 696bd765ebc5c9fb4aff8c96303eb3206df2fc43 [file] [log] [blame] [edit]
#[derive(Clone)] //~ expected a type, found a trait
struct Foo;
trait Foo {} //~ the name `Foo` is defined multiple times
fn main() {}