1 error[E0277]: the trait bound `S: Clone` is not satisfied in `[closure@$DIR/not-clone-closure.rs:7:17: 7:24]`
2 --> $DIR/not-clone-closure.rs:11:17
4 LL | let hello = move || {
5 | ------- within this `[closure@$DIR/not-clone-closure.rs:7:17: 7:24]`
7 LL | let hello = hello.clone();
8 | ^^^^^ ----- required by a bound introduced by this call
10 | within `[closure@$DIR/not-clone-closure.rs:7:17: 7:24]`, the trait `Clone` is not implemented for `S`
12 note: required because it's used within this closure
13 --> $DIR/not-clone-closure.rs:7:17
15 LL | let hello = move || {
17 help: consider annotating `S` with `#[derive(Clone)]`
22 error: aborting due to previous error
24 For more information about this error, try `rustc --explain E0277`.