diff options
| author | bors <bors@rust-lang.org> | 2021-07-14 01:41:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-07-14 01:41:12 +0000 |
| commit | 2155386f319d1d17b7b1604a2d6401c98decce9b (patch) | |
| tree | 77570a43561de7f88367aa8482f67cb244c2e1e5 /compiler/rustc_query_impl/src | |
| parent | c7d6bcc788ef6b2293d2d5166a9b0339d5d03b0a (diff) | |
| parent | 7d373c9c11a63714a1dd9ce79d38a088a435723d (diff) | |
| download | rust-2155386f319d1d17b7b1604a2d6401c98decce9b.tar.gz rust-2155386f319d1d17b7b1604a2d6401c98decce9b.zip | |
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
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions
