rust/compiler/rustc_middle/src
Oli Scherer cc54612ac3
Rollup merge of #120498 - compiler-errors:type-flags, r=lcnr
Uplift `TypeVisitableExt` into `rustc_type_ir`

This uplifts `TypeVisitableExt` into `rustc_type_ir` so it can be used in an interner-agnostic way. It also moves some `TypeSuperVisitable` bounds onto `Interner` since we don't expect to support libraries that have types which aren't foldable by default.

This restores a couple of asserts in the canonicalizer code we uplifted, and also makes it so that we can use type-flags-based helpers in the solver code, which I'm interested in uplifting.

r? lcnr
2024-02-14 11:53:38 +01:00
..
dep_graph Reduce exposure of things. 2023-11-16 16:49:22 +11:00
hir Properly handle async blocks and fns in if exprs without else 2024-02-12 20:26:34 +00:00
hooks Rename hook. 2023-11-01 16:49:18 +00:00
infer Dejargnonize subst 2024-02-12 15:46:35 +09:00
middle Rollup merge of #120502 - clubby789:remove-ffi-returns-twice, r=compiler-errors 2024-02-06 22:45:42 +01:00
mir Rollup merge of #120958 - ShoyuVanilla:remove-subst, r=oli-obk 2024-02-12 23:18:54 +01:00
query Auto merge of #120919 - oli-obk:impl_polarity, r=compiler-errors 2024-02-13 02:48:49 +00:00
thir Remove thir::Guard 2024-01-05 10:56:59 +00:00
traits Dejargnonize subst 2024-02-12 15:46:35 +09:00
ty Rollup merge of #120498 - compiler-errors:type-flags, r=lcnr 2024-02-14 11:53:38 +01:00
util Tweak delayed bug mentions. 2024-02-12 18:39:20 +11:00
arena.rs Rollup merge of #119600 - aDotInTheVoid:comment-fix, r=compiler-errors 2024-02-05 06:37:14 +01:00
error.rs Use DiagnosticArgName in a few more places. 2024-02-03 09:02:50 +11:00
lib.rs Auto merge of #120676 - Mark-Simulacrum:bootstrap-bump, r=clubby789 2024-02-09 18:09:02 +00:00
lint.rs Rename struct_lint_level as lint_level. 2024-01-23 08:09:08 +11:00
macros.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
metadata.rs rustc_metadata: Remove Span from ModChild 2023-04-18 17:25:04 +03:00
tests.rs Remove outdated references to librustc_middle. 2024-01-05 16:34:52 +00:00
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