rust/compiler/rustc_middle/src
bors 56cd04af5c Auto merge of #93511 - cjgillot:query-copy, r=oli-obk
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.
2022-02-10 09:37:07 +00:00
..
dep_graph Show a more informative panic message when DefPathHash does not exist 2022-01-19 17:36:44 -05:00
hir Make local_def_id_to_hir_id query directly returh HirId 2022-01-29 08:40:23 -03:00
infer Clean up opaque type obligations in query results 2022-02-03 13:44:29 +00:00
middle Auto merge of #93511 - cjgillot:query-copy, r=oli-obk 2022-02-10 09:37:07 +00:00
mir Make FnAbiError Copy. 2022-02-09 20:11:29 +01:00
query Explain &Arc. 2022-02-09 20:11:30 +01:00
thir Remove deprecated LLVM-style inline assembly 2022-01-12 18:51:31 +01:00
traits Ensure that queries only return Copy types. 2022-02-09 20:07:38 +01:00
ty Auto merge of #93511 - cjgillot:query-copy, r=oli-obk 2022-02-10 09:37:07 +00:00
util Use AddAssign impl 2021-11-09 23:47:36 +01:00
arena.rs Ensure that queries only return Copy types. 2022-02-09 20:07:38 +01:00
lib.rs add a rustc::query_stability lint 2022-02-01 10:15:59 +01:00
lint.rs update FutureIncompatibilityReason 2022-02-01 09:55:19 +01:00
macros.rs Rename TypeFolderFallible to FallibleTypeFolder 2021-12-02 16:14:18 +00:00
metadata.rs rustc_middle: Rename Export to ModChild and add some comments 2022-01-09 09:22:07 +08:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs Formally implement let chains 2022-01-18 19:38:17 -03:00