blob: d45668312218bb8212f4e1a7e79ef9bae36ffbc0 (
plain)
1
2
3
4
5
6
|
#[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() {}
|