...
LL | Bar::<NotClone> { x: 1 }.clone();
| ^^^^^ method not found in `Bar<NotClone>`
+ |
+ ::: $SRC_DIR/libcore/clone.rs:LL:COL
+ |
+LL | fn clone(&self) -> Self;
+ | -----
+ | |
+ | the method is available for `std::sync::Arc<Bar<NotClone>>` here
+ | the method is available for `std::rc::Rc<Bar<NotClone>>` here
|
= note: the method `clone` exists but the following trait bounds were not satisfied:
`NotClone: std::clone::Clone`