Register snapshot.
auto merge of #15472 : luqmana/rust/snaps, r=alexcrichton