rust/compiler/rustc_middle/src
Dylan DPC d5206c6ecd
Rollup merge of #121208 - nnethercote:delayed_bug-to-bug, r=lcnr
Convert `delayed_bug`s to `bug`s.

I have a suspicion that quite a few delayed bug paths are impossible to reach, so I did an experiment.

I converted every `delayed_bug` to a `bug`, ran the full test suite, then converted back every `bug` that was hit. A surprising number were never hit.

This is too dangerous to merge. Increased coverage (fuzzing or a crater run) would likely hit more cases. But it might be useful for people to look at and think about which paths are genuinely unreachable.

r? `@ghost`
2024-02-21 08:55:56 +00:00
..
dep_graph
hir Allow AST and HIR visitors to return ControlFlow 2024-02-18 03:49:28 -05:00
hooks
infer Dejargnonize subst 2024-02-12 15:46:35 +09:00
middle Prefer DiagnosticBuilder over Diagnostic in diagnostic modifiers. 2024-02-19 20:23:20 +11:00
mir By tracking import use types to check whether it is scope uses or the other situations like module-relative uses, we can do more accurate redundant import checking. 2024-02-18 16:38:11 +08:00
query Rollup merge of #121344 - fmease:lta-constr-by-input, r=oli-obk 2024-02-20 19:35:41 +01:00
thir
traits Rollup merge of #121344 - fmease:lta-constr-by-input, r=oli-obk 2024-02-20 19:35:41 +01:00
ty Rollup merge of #121208 - nnethercote:delayed_bug-to-bug, r=lcnr 2024-02-21 08:55:56 +00:00
util Convert bugs back to delayed_bugs. 2024-02-21 10:35:54 +11:00
arena.rs Rename some normalization-related items 2024-02-20 17:30:49 +01:00
error.rs Use DiagnosticArgName in a few more places. 2024-02-03 09:02:50 +11:00
lib.rs Use generic NonZero internally. 2024-02-15 08:09:42 +01:00
lint.rs Prefer DiagnosticBuilder over Diagnostic in diagnostic modifiers. 2024-02-19 20:23:20 +11:00
macros.rs
metadata.rs
tests.rs
thir.rs Remove dead args from functions 2024-02-02 22:47:26 +00:00
values.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00