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