fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `Foo: Clone` is not satisfied 2 --> $DIR/issue-71136.rs:5:5 3 | 4LL | #[derive(Clone)] 5 | ----- in this derive macro expansion 6LL | struct FooHolster { 7LL | the_foos: Vec<Foo>, 8 | ^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `Foo` 9 | 10 = note: required for `Vec<Foo>` to implement `Clone` 11 = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) 12help: consider annotating `Foo` with `#[derive(Clone)]` 13 | 14LL + #[derive(Clone)] 15LL | struct Foo(u8); 16 | 17 18error: aborting due to previous error 19 20For more information about this error, try `rustc --explain E0277`.