rust/compiler/rustc_middle/src
bors 5a4ee43c38 Auto merge of #129244 - cjgillot:opaque-hir, r=compiler-errors
Make opaque types regular HIR nodes

Having opaque types as HIR owner introduces all sorts of complications. This PR proposes to make them regular HIR nodes instead.

I haven't gone through all the test changes yet, so there may be a few surprises.

Many thanks to `@camelid` for the first draft.
Fixes https://github.com/rust-lang/rust/issues/129023

Fixes #129099
Fixes #125843
Fixes #119716
Fixes #121422
2024-10-05 06:19:35 +00:00
..
dep_graph Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
hir rm ItemKind::OpaqueTy 2024-10-04 23:28:22 +00:00
hooks Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
infer Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
middle Simplify bound var resolution. 2024-10-04 23:44:27 +00:00
mir Rollup merge of #130885 - RalfJung:interp-error-discard, r=oli-obk 2024-10-01 23:15:59 -07:00
query Simplify bound var resolution. 2024-10-04 23:44:27 +00:00
thir be even more precise about "cast" vs "coercion" 2024-09-24 23:12:02 +02:00
traits Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
ty Auto merge of #129244 - cjgillot:opaque-hir, r=compiler-errors 2024-10-05 06:19:35 +00:00
util Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
arena.rs Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
error.rs Use bool in favor of Option<()> for diagnostics 2024-08-21 01:31:11 -04:00
lib.rs make InterpResult a dedicated type to avoid accidentally discarding the error 2024-10-01 21:45:35 +02:00
lint.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
macros.rs Improve const traits diagnostics for new desugaring 2024-10-02 19:45:17 +08:00
metadata.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
tests.rs Give an item related to issue 27438 a more meaningful name 2024-04-30 22:27:19 +02:00
thir.rs be even more precise about "cast" vs "coercion" 2024-09-24 23:12:02 +02:00
values.rs only query params_in_repr if def kind is adt 2024-10-02 17:36:31 +08:00