2021-10-02 21:08:11 -05:00
|
|
|
error[E0277]: the trait bound `for<'a> &'a (): BufferMut` is not satisfied
|
|
|
|
--> $DIR/issue-89118.rs:19:8
|
|
|
|
|
|
|
|
|
LL | C: StackContext,
|
|
|
|
| ^^^^^^^^^^^^ the trait `for<'a> BufferMut` is not implemented for `&'a ()`
|
|
|
|
|
|
2022-08-15 15:31:37 -05:00
|
|
|
note: required for `Ctx<()>` to implement `for<'a> BufferUdpStateContext<&'a ()>`
|
2021-10-02 21:08:11 -05:00
|
|
|
--> $DIR/issue-89118.rs:5:23
|
|
|
|
|
|
|
|
|
LL | impl<B: BufferMut, C> BufferUdpStateContext<B> for C {}
|
2023-01-10 21:21:11 -06:00
|
|
|
| --------- ^^^^^^^^^^^^^^^^^^^^^^^^ ^
|
|
|
|
| |
|
|
|
|
| unsatisfied trait bound introduced here
|
2021-10-02 21:08:11 -05:00
|
|
|
note: required by a bound in `StackContext`
|
|
|
|
--> $DIR/issue-89118.rs:9:14
|
|
|
|
|
|
|
|
|
LL | trait StackContext
|
|
|
|
| ------------ required by a bound in this
|
|
|
|
LL | where
|
|
|
|
LL | Ctx<()>: for<'a> BufferUdpStateContext<&'a ()>,
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `StackContext`
|
|
|
|
|
|
|
|
error[E0277]: the trait bound `for<'a> &'a (): BufferMut` is not satisfied
|
2022-06-11 17:47:21 -05:00
|
|
|
--> $DIR/issue-89118.rs:29:9
|
2021-10-02 21:08:11 -05:00
|
|
|
|
|
2022-06-11 17:47:21 -05:00
|
|
|
LL | impl<C> EthernetWorker<C> {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^ the trait `for<'a> BufferMut` is not implemented for `&'a ()`
|
2021-10-02 21:08:11 -05:00
|
|
|
|
|
2022-08-15 15:31:37 -05:00
|
|
|
note: required for `Ctx<()>` to implement `for<'a> BufferUdpStateContext<&'a ()>`
|
2021-10-02 21:08:11 -05:00
|
|
|
--> $DIR/issue-89118.rs:5:23
|
|
|
|
|
|
|
|
|
LL | impl<B: BufferMut, C> BufferUdpStateContext<B> for C {}
|
2023-01-10 21:21:11 -06:00
|
|
|
| --------- ^^^^^^^^^^^^^^^^^^^^^^^^ ^
|
|
|
|
| |
|
|
|
|
| unsatisfied trait bound introduced here
|
2022-06-11 17:47:21 -05:00
|
|
|
note: required by a bound in `EthernetWorker`
|
|
|
|
--> $DIR/issue-89118.rs:28:14
|
2021-10-02 21:08:11 -05:00
|
|
|
|
|
2022-06-11 17:47:21 -05:00
|
|
|
LL | struct EthernetWorker<C>(C)
|
|
|
|
| -------------- required by a bound in this
|
2021-10-02 21:08:11 -05:00
|
|
|
LL | where
|
2022-06-11 17:47:21 -05:00
|
|
|
LL | Ctx<()>: for<'a> BufferUdpStateContext<&'a ()>;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `EthernetWorker`
|
2021-10-02 21:08:11 -05:00
|
|
|
|
|
|
|
error[E0277]: the trait bound `for<'a> &'a (): BufferMut` is not satisfied
|
2022-06-11 17:47:21 -05:00
|
|
|
--> $DIR/issue-89118.rs:22:20
|
2021-10-02 21:08:11 -05:00
|
|
|
|
|
2022-06-11 17:47:21 -05:00
|
|
|
LL | type Handler = Ctx<C::Dispatcher>;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^ the trait `for<'a> BufferMut` is not implemented for `&'a ()`
|
2021-10-02 21:08:11 -05:00
|
|
|
|
|
2022-08-15 15:31:37 -05:00
|
|
|
note: required for `Ctx<()>` to implement `for<'a> BufferUdpStateContext<&'a ()>`
|
2021-10-02 21:08:11 -05:00
|
|
|
--> $DIR/issue-89118.rs:5:23
|
|
|
|
|
|
|
|
|
LL | impl<B: BufferMut, C> BufferUdpStateContext<B> for C {}
|
2023-01-10 21:21:11 -06:00
|
|
|
| --------- ^^^^^^^^^^^^^^^^^^^^^^^^ ^
|
|
|
|
| |
|
|
|
|
| unsatisfied trait bound introduced here
|
2022-06-11 17:47:21 -05:00
|
|
|
note: required by a bound in `StackContext`
|
|
|
|
--> $DIR/issue-89118.rs:9:14
|
2021-10-02 21:08:11 -05:00
|
|
|
|
|
2022-06-11 17:47:21 -05:00
|
|
|
LL | trait StackContext
|
|
|
|
| ------------ required by a bound in this
|
2021-10-02 21:08:11 -05:00
|
|
|
LL | where
|
2022-06-11 17:47:21 -05:00
|
|
|
LL | Ctx<()>: for<'a> BufferUdpStateContext<&'a ()>,
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `StackContext`
|
2021-10-02 21:08:11 -05:00
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|