2025-01-11 19:22:02 +00:00
|
|
|
#[derive(Clone)]
|
2025-04-05 19:19:56 +03:00
|
|
|
//~^ ERROR expected a type, found a trait
|
|
|
|
|
//~| ERROR expected a type, found a trait
|
2022-12-23 00:13:47 +00:00
|
|
|
struct Foo;
|
2025-04-05 19:19:56 +03:00
|
|
|
trait Foo {} //~ ERROR the name `Foo` is defined multiple times
|
2022-12-23 00:13:47 +00:00
|
|
|
fn main() {}
|