Use create_snapshot_for_diagnostic instead of clone for Parser
#100566
+2
−2
create_snapshot_for_diagnostic instead of clone for Parser
#100566