rust/compiler/rustc_span
bors 2155386f31 Auto merge of #87106 - Mark-Simulacrum:edition-no-clone, r=petrochenkov
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.

r? `@ghost` -- opening for a perf run to start with
2021-07-14 01:41:12 +00:00
..
src Auto merge of #87106 - Mark-Simulacrum:edition-no-clone, r=petrochenkov 2021-07-14 01:41:12 +00:00
Cargo.toml rustc_span: Explicitly handle crates that differ from package names 2021-06-24 23:48:53 -07:00