1
Fork 0

Move test to correct path.

This commit is contained in:
Hameer Abbasi 2021-10-03 05:24:45 +02:00
parent 3da9dea491
commit dc4043075e
2 changed files with 3 additions and 3 deletions

View file

@ -17,16 +17,16 @@ trait TimerContext {
impl<C> TimerContext for C impl<C> TimerContext for C
where where
C: StackContext, C: StackContext,
//~^ ERROR: is not satisfied [E0277] //~^ ERROR: is not satisfied [E0277]
{ {
type Handler = Ctx<C::Dispatcher>; type Handler = Ctx<C::Dispatcher>;
//~^ ERROR: is not satisfied [E0277] //~^ ERROR: is not satisfied [E0277]
} }
struct EthernetWorker<C>(C) struct EthernetWorker<C>(C)
where where
Ctx<()>: for<'a> BufferUdpStateContext<&'a ()>; Ctx<()>: for<'a> BufferUdpStateContext<&'a ()>;
impl<C> EthernetWorker<C> {} impl<C> EthernetWorker<C> {}
//~^ ERROR: is not satisfied [E0277] //~^ ERROR: is not satisfied [E0277]
fn main() {} fn main() {}