summaryrefslogtreecommitdiffstats
path: root/src/test/ui/traits/issue-71136.rs
blob: b21756e2b637fa2a6e279a131d4b989b6ed3cceb (plain)
1
2
3
4
5
6
7
8
struct Foo(u8);

#[derive(Clone)]
struct FooHolster {
    the_foos: Vec<Foo>, //~ERROR Clone
}

fn main() {}