mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
56cd04af5c
Ensure that queries only return Copy types. This should pervent the perf footgun of returning a result with an expensive `Clone` impl (like a `Vec` of a hash map). I went for the stupid solution of allocating on an arena everything that was not `Copy`. Some query results could be made Copy easily, but I did not really investigate. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |