mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +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 |