1 error[E0599]: the method `clone` exists for struct `Box<R>`, but its trait bounds were not satisfied
2 --> $DIR/unique-pinned-nocopy.rs:12:16
5 | -------- doesn't satisfy `R: Clone`
7 LL | let _j = i.clone();
8 | ^^^^^ method cannot be called on `Box<R>` due to unsatisfied trait bounds
10 ::: $SRC_DIR/alloc/src/boxed.rs:LL:COL
12 LL | / pub struct Box<
14 LL | | #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,
15 LL | | >(Unique<T>, A);
16 | |_- doesn't satisfy `Box<R>: Clone`
18 = note: the following trait bounds were not satisfied:
20 which is required by `Box<R>: Clone`
21 = help: items from traits can only be used if the trait is implemented and in scope
22 = note: the following trait defines an item `clone`, perhaps you need to implement it:
24 help: consider annotating `R` with `#[derive(Clone)]`
29 error: aborting due to previous error
31 For more information about this error, try `rustc --explain E0599`.