rust/compiler/rustc_middle/src
bors 25862ffc8d Auto merge of #93259 - eddyb:diagbld-scalar-pair, r=jackh726
rustc_errors: only box the `diagnostic` field in `DiagnosticBuilder`.

I happened to need to do the first change (replacing `allow_suggestions` with equivalent functionality on `Diagnostic` itself) as part of a larger change, and noticed that there's only two fields left in `DiagnosticBuilderInner`.

So with this PR, instead of a single pointer, `DiagnosticBuilder` is two pointers, which should work just as well for passing *it* by value (and may even work better wrt some operations, though probably not by much).

But anything that was already taking advantage of `DiagnosticBuilder` being a single pointer, and wrapping it further (e.g. `Result<T, DiagnosticBuilder>` w/ non-ZST `T`), ~~will probably see a slowdown~~, so I want to do a perf run before even trying to propose this.
2022-02-01 03:58:32 +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 Canonicalize const variables correctly 2022-01-12 08:27:41 -08:00
middle Track drops across multiple yields 2022-01-18 14:25:24 -08:00
mir Rollup merge of #90277 - pierwill:fix-70258-inference-terms, r=jackh726 2022-01-31 06:58:26 +01:00
query Auto merge of #93373 - spastorino:def_id_to_hir_id_refactor, r=oli-obk 2022-01-31 14:23:44 +00:00
thir Remove deprecated LLVM-style inline assembly 2022-01-12 18:51:31 +01:00
traits Do not store overlap_mode, just pass it down on insert 2022-01-31 11:51:34 -03:00
ty Auto merge of #93373 - spastorino:def_id_to_hir_id_refactor, r=oli-obk 2022-01-31 14:23:44 +00:00
util Use AddAssign impl 2021-11-09 23:47:36 +01:00
arena.rs Fully serialize AdtDef 2021-12-15 16:32:16 -05:00
lib.rs rustc_middle: Rename Export to ModChild and add some comments 2022-01-09 09:22:07 +08:00
lint.rs rustc_errors: remove allow_suggestions from DiagnosticBuilder. 2022-01-24 10:49:10 +00: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