1 error[E0277]: the trait bound `i32: Tr` is not satisfied
2 --> $DIR/issue-84973-2.rs:11:9
7 | expected an implementor of trait `Tr`
8 | help: consider mutably borrowing here: `&mut a`
10 note: required by a bound in `foo`
11 --> $DIR/issue-84973-2.rs:7:11
13 LL | fn foo<T: Tr>(i: T) {}
14 | ^^ required by this bound in `foo`
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0277`.