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 09:11:23 +00:00
struct Foo(u8);
#[derive(Clone)]
struct FooHolster {
the_foos: Vec<Foo>, //~ERROR Clone
}
fn main() {}