Register new snapshots

This in theory enables uncommenting IndexMut implementations, but upon doing so
the compiler immediately segfaulted in stage1, so I'll leave those to a later
time.
rollup merge of #18259 : alexcrichton/snapshots