about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2021-07-13 10:57:10 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2021-07-13 10:57:10 -0400
commit7d373c9c11a63714a1dd9ce79d38a088a435723d (patch)
tree879fbb44b1912bd5f0134e7076cc50de1dcecec1 /compiler/rustc_query_impl/src
parent81053b912fab51978f4806cddfc37eb9a9a5afc6 (diff)
downloadrust-7d373c9c11a63714a1dd9ce79d38a088a435723d.tar.gz
rust-7d373c9c11a63714a1dd9ce79d38a088a435723d.zip
Avoid cloning ExpnData to access Span edition
ExpnData is a fairly hefty structure to clone; cloning it may not be cheap. In
some cases this may get optimized out, but it's not clear that will always be
the case. Try to avoid that cost.
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions