]> git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/issue-84973-2.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / suggestions / issue-84973-2.stderr
1 error[E0277]: the trait bound `i32: Tr` is not satisfied
2 --> $DIR/issue-84973-2.rs:11:9
3 |
4 LL | foo(a);
5 | ^
6 | |
7 | expected an implementor of trait `Tr`
8 | help: consider mutably borrowing here: `&mut a`
9 |
10 note: required by a bound in `foo`
11 --> $DIR/issue-84973-2.rs:7:11
12 |
13 LL | fn foo<T: Tr>(i: T) {}
14 | ^^ required by this bound in `foo`
15
16 error: aborting due to previous error
17
18 For more information about this error, try `rustc --explain E0277`.