rust/tests/ui/traits/issue-71136.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
109 B
Rust
Raw Normal View History

2020-05-03 04:11:23 -05:00
struct Foo(u8);
#[derive(Clone)]
struct FooHolster {
the_foos: Vec<Foo>, //~ERROR Clone
}
fn main() {}