@bnut That doesn't work though:
error[E0277]: the trait bound `<<Self as N>::A as N>::A: O` is not satisfied
--> O.rs:5:34
|
5 | trait O: N where <Self as N>::A: O {
| ^ the trait `O` is not implemented for `<<Self as N>::A as N>::A`
|