1 error[E0277]: the trait bound `S: Clone` is not satisfied in `[closure@$DIR/not-clone-closure.rs:7:17: 9:6]`
2 --> $DIR/not-clone-closure.rs:11:23
4 LL | let hello = move || {
6 LL | | println!("Hello {}", a.0);
8 | |_____- within this `[closure@$DIR/not-clone-closure.rs:7:17: 9:6]`
10 LL | let hello = hello.clone();
11 | ^^^^^ within `[closure@$DIR/not-clone-closure.rs:7:17: 9:6]`, the trait `Clone` is not implemented for `S`
13 note: required because it's used within this closure
14 --> $DIR/not-clone-closure.rs:7:17
16 LL | let hello = move || {
18 LL | | println!("Hello {}", a.0);
21 help: consider annotating `S` with `#[derive(Clone)]`
26 error: aborting due to previous error
28 For more information about this error, try `rustc --explain E0277`.