]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/issue-84973-2.stderr
Auto merge of #87284 - Aaron1011:remove-paren-special, r=petrochenkov
[rust.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 | fn foo<T: Tr>(i: T) {}
5    |           -- required by this bound in `foo`
6 ...
7 LL |     foo(a);
8    |         ^
9    |         |
10    |         expected an implementor of trait `Tr`
11    |         help: consider mutably borrowing here: `&mut a`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0277`.