1 error[E0277]: the trait bound `&T: X` is not satisfied
2 --> $DIR/issue-106443-sugg-clone-for-bound.rs:10:9
5 | ^ the trait `X` is not implemented for `&T`
7 help: consider further restricting this bound
9 LL | fn bar<T: X + Clone>(s: &T) {
11 help: consider using clone here
16 error[E0277]: the trait bound `&T: X` is not satisfied
17 --> $DIR/issue-106443-sugg-clone-for-bound.rs:14:9
20 | ^ the trait `X` is not implemented for `&T`
22 help: consider using clone here
27 error: aborting due to 2 previous errors
29 For more information about this error, try `rustc --explain E0277`.