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