1 error[E0277]: the trait bound `Fancy: SomeTrait` is not satisfied
2 --> $DIR/issue-84973.rs:6:24
4 LL | let o = Other::new(f);
7 | expected an implementor of trait `SomeTrait`
8 | help: consider borrowing here: `&f`
10 note: required by `Other::<'a, G>::new`
11 --> $DIR/issue-84973.rs:27:5
13 LL | pub fn new(g: G) -> Self {
14 | ^^^^^^^^^^^^^^^^^^^^^^^^
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0277`.