rust/tests/ui/issues/issue-45801.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

12 lines
464 B
Text

error[E0277]: the trait bound `Params: Plugin<i32>` is not satisfied
--> $DIR/issue-45801.rs:21:9
|
LL | req.get_ref::<Params>();
| ^^^^^^^ the trait `Plugin<i32>` is not implemented for `Params`
|
= help: the trait `Plugin<Foo>` is implemented for `Params`
= help: for that trait implementation, expected `Foo`, found `i32`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0277`.