rust/compiler/rustc_middle/src
bors d914f17ca7 Auto merge of #90919 - nnethercote:rm-DropArena, r=Mark-Simulacrum
Remove `DropArena`.

Most arena-allocate types that impl `Drop` get their own `TypedArena`, but a
few infrequently used ones share a `DropArena`. This sharing adds complexity
but doesn't help performance or memory usage. Perhaps it was more effective in
the past prior to some other improvements to arenas.

This commit removes `DropArena` and the sharing of arenas via the `few`
attribute of the `arena_types` macro. This change removes over 100 lines of
code and nine uses of `unsafe` (one of which affects the parallel compiler) and
makes the remaining code easier to read.
2021-11-16 11:48:37 +00:00
..
dep_graph Address review. 2021-10-20 18:51:15 +02:00
hir Give inline const separate DefKind 2021-11-07 03:59:06 +00:00
infer Miscellaneous inlining improvements 2021-06-02 08:49:58 +02:00
middle Rollup merge of #89025 - ricobbe:raw-dylib-link-ordinal, r=michaelwoerister 2021-10-07 20:26:11 -07:00
mir Give inline const separate DefKind 2021-11-07 03:59:06 +00:00
query no overlap errors after failing the orphan check 2021-11-10 15:10:19 +01:00
thir add a CastKind to Node::Cast 2021-09-09 01:32:03 +01:00
traits Remove some fields from ObligationCauseCode 2021-11-07 13:20:02 +00:00
ty Rollup merge of #90910 - RalfJung:const-discriminant-empty-enum, r=petrochenkov 2021-11-16 15:59:41 +09:00
util Use AddAssign impl 2021-11-09 23:47:36 +01:00
arena.rs Remove DropArena. 2021-11-15 18:33:43 +11:00
lib.rs Revert "Add rustc lint, warning when iterating over hashmaps" 2021-10-28 11:01:42 -04:00
lint.rs Don't abort compilation after giving a lint error 2021-11-08 01:22:28 +00:00
macros.rs
tests.rs
thir.rs rename mir -> thir around abstract consts 2021-09-09 01:32:03 +01:00