error[E0308]: mismatched types --> $DIR/issue-118144.rs:11:9 | LL | V(x) = func_arg; | ^^^^ -------- this expression has type `&mut V` | | | expected `&mut V`, found `V` error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0308`.