7 lines
190 B
Rust
7 lines
190 B
Rust
#[derive(Clone)]
|
|
//~^ ERROR expected a type, found a trait
|
|
//~| ERROR expected a type, found a trait
|
|
struct Foo;
|
|
trait Foo {} //~ ERROR the name `Foo` is defined multiple times
|
|
fn main() {}
|