Register new snapshots

This contains the fix for #4252 so we can start using methods in destructors.
auto merge of #12427 : alexcrichton/rust/snapshots, r=brson

This contains the fix for #4252 so we can start using methods in destructors.