]>
Commit | Line | Data |
---|---|---|
c295e0f8 XL |
1 | error[E0277]: the trait bound `for<'a> &'a (): BufferMut` is not satisfied |
2 | --> $DIR/issue-89118.rs:19:8 | |
3 | | | |
4 | LL | C: StackContext, | |
5 | | ^^^^^^^^^^^^ the trait `for<'a> BufferMut` is not implemented for `&'a ()` | |
6 | | | |
f2b60f7d | 7 | note: required for `Ctx<()>` to implement `for<'a> BufferUdpStateContext<&'a ()>` |
c295e0f8 XL |
8 | --> $DIR/issue-89118.rs:5:23 |
9 | | | |
10 | LL | impl<B: BufferMut, C> BufferUdpStateContext<B> for C {} | |
11 | | ^^^^^^^^^^^^^^^^^^^^^^^^ ^ | |
12 | note: required by a bound in `StackContext` | |
13 | --> $DIR/issue-89118.rs:9:14 | |
14 | | | |
15 | LL | trait StackContext | |
16 | | ------------ required by a bound in this | |
17 | LL | where | |
18 | LL | Ctx<()>: for<'a> BufferUdpStateContext<&'a ()>, | |
19 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `StackContext` | |
20 | ||
21 | error[E0277]: the trait bound `for<'a> &'a (): BufferMut` is not satisfied | |
064997fb | 22 | --> $DIR/issue-89118.rs:29:9 |
c295e0f8 | 23 | | |
064997fb FG |
24 | LL | impl<C> EthernetWorker<C> {} |
25 | | ^^^^^^^^^^^^^^^^^ the trait `for<'a> BufferMut` is not implemented for `&'a ()` | |
c295e0f8 | 26 | | |
f2b60f7d | 27 | note: required for `Ctx<()>` to implement `for<'a> BufferUdpStateContext<&'a ()>` |
c295e0f8 XL |
28 | --> $DIR/issue-89118.rs:5:23 |
29 | | | |
30 | LL | impl<B: BufferMut, C> BufferUdpStateContext<B> for C {} | |
31 | | ^^^^^^^^^^^^^^^^^^^^^^^^ ^ | |
064997fb FG |
32 | note: required by a bound in `EthernetWorker` |
33 | --> $DIR/issue-89118.rs:28:14 | |
c295e0f8 | 34 | | |
064997fb FG |
35 | LL | struct EthernetWorker<C>(C) |
36 | | -------------- required by a bound in this | |
c295e0f8 | 37 | LL | where |
064997fb FG |
38 | LL | Ctx<()>: for<'a> BufferUdpStateContext<&'a ()>; |
39 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `EthernetWorker` | |
c295e0f8 XL |
40 | |
41 | error[E0277]: the trait bound `for<'a> &'a (): BufferMut` is not satisfied | |
064997fb | 42 | --> $DIR/issue-89118.rs:22:20 |
c295e0f8 | 43 | | |
064997fb FG |
44 | LL | type Handler = Ctx<C::Dispatcher>; |
45 | | ^^^^^^^^^^^^^^^^^^ the trait `for<'a> BufferMut` is not implemented for `&'a ()` | |
c295e0f8 | 46 | | |
f2b60f7d | 47 | note: required for `Ctx<()>` to implement `for<'a> BufferUdpStateContext<&'a ()>` |
c295e0f8 XL |
48 | --> $DIR/issue-89118.rs:5:23 |
49 | | | |
50 | LL | impl<B: BufferMut, C> BufferUdpStateContext<B> for C {} | |
51 | | ^^^^^^^^^^^^^^^^^^^^^^^^ ^ | |
064997fb FG |
52 | note: required by a bound in `StackContext` |
53 | --> $DIR/issue-89118.rs:9:14 | |
c295e0f8 | 54 | | |
064997fb FG |
55 | LL | trait StackContext |
56 | | ------------ required by a bound in this | |
c295e0f8 | 57 | LL | where |
064997fb FG |
58 | LL | Ctx<()>: for<'a> BufferUdpStateContext<&'a ()>, |
59 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `StackContext` | |
c295e0f8 XL |
60 | |
61 | error: aborting due to 3 previous errors | |
62 | ||
63 | For more information about this error, try `rustc --explain E0277`. |