Collection: Nesting level too deep - recursive dependency?

I think a similar error has come up several times in different contexts and I’m pretty sure I’ve seen it recently but can’t find it at the moment.