summaryrefslogtreecommitdiff
path: root/tests/ui/traits/issue-106072.rs
blob: 7064a39d21e7f34a277e9e6e024b93692a7aed3e (plain)
1
2
3
4
5
#[derive(Clone)] //~  trait objects must include the `dyn` keyword
                 //~| trait objects must include the `dyn` keyword
struct Foo;
trait Foo {} //~ the name `Foo` is defined multiple times
fn main() {}