]> git.proxmox.com Git - rustc.git/blob - tests/ui/suggestions/issue-84973-2.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / 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 | --- ^ the trait `Tr` is not implemented for `i32`
6 | |
7 | required by a bound introduced by this call
8 |
9 note: required by a bound in `foo`
10 --> $DIR/issue-84973-2.rs:7:11
11 |
12 LL | fn foo<T: Tr>(i: T) {}
13 | ^^ required by this bound in `foo`
14 help: consider mutably borrowing here
15 |
16 LL | foo(&mut a);
17 | ++++
18
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0277`.