A per-trait graph of impls in specialization order. At the moment, this
graph forms a tree rooted with the trait itself, with all other nodes
representing impls, and parent-child relationships representing
specializations.
A node in the specialization graph is either an impl or a trait
definition; either can serve as a source of item definitions.
There is always exactly one trait definition node: the root.