3 pub trait Foo: NotFoo {
11 pub trait ThriftService<Bug: NotFoo>:
12 //~^ ERROR the trait bound `Bug: Foo` is not satisfied
13 //~| ERROR the trait bound `Bug: Foo` is not satisfied
14 Service<AssocType = <Bug as Foo>::OnlyFoo>
17 //~^ ERROR the trait bound `Bug: Foo` is not satisfied
18 //~| ERROR the trait bound `Bug: Foo` is not satisfied
23 fn with_factory<H>(factory: dyn ThriftService<()>) {}
24 //~^ ERROR the trait bound `(): Foo` is not satisfied