fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `i32: Tr` is not satisfied 2 --> $DIR/issue-84973-2.rs:11:9 3 | 4LL | foo(a); 5 | --- ^ the trait `Tr` is not implemented for `i32` 6 | | 7 | required by a bound introduced by this call 8 | 9note: required by a bound in `foo` 10 --> $DIR/issue-84973-2.rs:7:11 11 | 12LL | fn foo<T: Tr>(i: T) {} 13 | ^^ required by this bound in `foo` 14help: consider mutably borrowing here 15 | 16LL | foo(&mut a); 17 | ++++ 18 19error: aborting due to previous error 20 21For more information about this error, try `rustc --explain E0277`.