Use create_snapshot_for_diagnostic
instead of clone
for Parser
#98020
Merged
bors merged 1 commit intorust-lang:masterfrom Jun 13, 2022
create_snapshot_for_diagnostic
instead of clone
for Parser
#98020