rust/compiler/rustc_hir_analysis/src
bors b234e44944 Auto merge of #122077 - oli-obk:eager_opaque_checks4, r=lcnr
Pass list of defineable opaque types into canonical queries

This eliminates `DefiningAnchor::Bubble` for good and brings the old solver closer to the new one wrt cycles and nested obligations. At that point the difference between `DefiningAnchor::Bind([])` and `DefiningAnchor::Error` was academic. We only used the difference for some sanity checks, which actually had to be worked around in places, so I just removed `DefiningAnchor` entirely and just stored the list of opaques that may be defined.

fixes #108498
fixes https://github.com/rust-lang/rust/issues/116877

* [x] run crater
  - https://github.com/rust-lang/rust/pull/122077#issuecomment-2013293931
2024-04-08 23:01:50 +00:00
..
check Eliminate DefiningAnchor now that is just a single-variant enum 2024-04-08 15:00:27 +00:00
coherence Actually create ranged int types in the type system. 2024-04-08 12:02:19 +00:00
collect cache type info for ParamEnv 2024-04-04 18:33:38 +02:00
errors Start handling pattern types at the HIR -> Ty conversion boundary 2024-04-08 12:01:50 +00:00
hir_ty_lowering Actually create ranged int types in the type system. 2024-04-08 12:02:19 +00:00
impl_wf_check Use expand_weak_alias_tys when collecting constrained generics params in impls 2024-02-20 17:31:59 +01:00
outlives Use FxIndexMap instead of BTreeMap to avoid sorting DefIds 2024-03-27 14:02:15 +00:00
structured_errors Suggest _ for missing generic arguments in turbofish 2024-03-17 17:34:17 +00:00
variance Actually create ranged int types in the type system. 2024-04-08 12:02:19 +00:00
autoderef.rs fix ICE for deref coercions with type errors 2024-02-12 14:37:35 +01:00
bounds.rs Make sure to insert Sized bound first into clauses list 2024-04-01 21:41:45 -04:00
check_unused.rs Rename TyCtxt::struct_span_lint_hir as TyCtxt::node_span_lint. 2024-01-23 08:09:01 +11:00
collect.rs Arrange methods on HirTyLowerer more logically 2024-03-22 06:32:51 +01:00
constrained_generic_params.rs Convert TypeVisitor and DefIdVisitor to use VisitorResult 2024-03-05 13:28:15 -05:00
errors.rs Actually create ranged int types in the type system. 2024-04-08 12:02:19 +00:00
hir_wf_check.rs Auto merge of #122869 - matthiaskrgr:rollup-0navj4l, r=matthiaskrgr 2024-03-22 12:29:42 +00:00
impl_wf_check.rs Merge check_mod_impl_wf and check_mod_type_wf 2024-03-07 06:27:09 +00:00
lib.rs Auto merge of #121387 - oli-obk:eager_const_failures_regression, r=lcnr 2024-03-26 10:52:11 +00:00
structured_errors.rs Rename StructuredDiagnostic as StructuredDiag. 2024-03-05 12:15:12 +11:00