rust/tests/ui/traits/next-solver
bors b0f8618938 Auto merge of #125413 - lcnr:ambig-drop-region-constraints, r=compiler-errors
drop region constraints for ambiguous goals

See the comment in `compute_external_query_constraints`. While the underlying issue is preexisting, this fixes a bug introduced by #125343.

It slightly weakens the leak chec, even if we didn't have any test which was affected. I want to write such a test before merging this PR.

r? `@compiler-errors`
2024-05-27 15:28:51 +00:00
..
alias-relate
assembly
canonical Report better WF obligation leaf obligations in new solver 2024-05-16 21:08:42 -04:00
coherence Don't ICE because recomputing overflow goals during find_best_leaf_obligation causes inference side-effects 2024-05-16 10:00:11 -04:00
cycles track cycle participants per entry 2024-05-20 20:57:14 +00:00
diagnostics Don't ICE because recomputing overflow goals during find_best_leaf_obligation causes inference side-effects 2024-05-16 10:00:11 -04:00
env-shadows-impls
generalize generalize hr alias: avoid unconstrainable infer vars 2024-05-07 15:58:06 +00:00
normalize drop region constraints for ambiguous goals 2024-05-24 20:32:35 +00:00
overflow Don't ICE because recomputing overflow goals during find_best_leaf_obligation causes inference side-effects 2024-05-16 10:00:11 -04:00
typeck Structurally resolve before builtin_index in EUV 2024-05-24 16:20:48 -04:00
alias-bound-preference.rs
alias-bound-unsound.rs
alias-bound-unsound.stderr
alias-eq-in-canonical-response.rs
alias-sub.rs
ambiguous-impl-in-resolve.rs
array-default.rs
async.fail.stderr
async.rs
auto-with-drop_tracking_mir.fail.stderr
auto-with-drop_tracking_mir.rs
borrowck-error.rs
borrowck-error.stderr
builtin-fn-must-return-sized.rs
builtin-fn-must-return-sized.stderr
cast-checks-handling-projections.rs
closure-inference-guidance.rs
closure-signature-inference-2.rs
closure-signature-inference.rs
closure-substs-ambiguity.rs
coerce-ambig-alias-to-rigid-alias.rs
const-param-placeholder.fail.stderr
const-param-placeholder.rs
constrain-alias-goals-in-unsize.rs
coroutine.fail.stderr
coroutine.rs
deduce-ty-from-object.rs
dedup-regions.rs
destruct.rs
dont-canonicalize-re-error.rs
dont-canonicalize-re-error.stderr
dont-coerce-infer-to-dyn.rs
dont-elaborate-for-projections.rs
dont-ice-on-assoc-projection.rs
dont-ice-on-assoc-projection.stderr
dont-loop-fulfill-on-region-constraints.rs
dont-normalize-proj-with-error.rs
dont-normalize-proj-with-error.stderr
dont-remap-tait-substs.rs
dont-type_of-tait-in-defining-scope.is_send.stderr
dont-type_of-tait-in-defining-scope.not_send.stderr
dont-type_of-tait-in-defining-scope.rs
dyn-any-dont-prefer-impl.rs
elaborate-item-bounds.rs
escaping-bound-vars-in-writeback-normalization.rs
float-canonical.rs
fn-trait-closure.rs
fn-trait.rs
fn-trait.stderr
higher-ranked-dyn-bounds.rs
int-var-alias-eq.rs
int-var-is-send.rs
issue-118950-root-region.rs Report better WF obligation leaf obligations in new solver 2024-05-16 21:08:42 -04:00
issue-118950-root-region.stderr Report better WF obligation leaf obligations in new solver 2024-05-16 21:08:42 -04:00
iter-filter-projection.rs
lazy-nested-obligations-1.rs
lazy-nested-obligations-2.rs
lazy-nested-obligations-3.rs
more-object-bound.rs
more-object-bound.stderr
nested-alias-bound.rs
nested-obligations-with-bound-vars-gat.rs
object-soundness-requires-generalization.rs
object-unsafety.rs Report better WF obligation leaf obligations in new solver 2024-05-16 21:08:42 -04:00
object-unsafety.stderr Report better WF obligation leaf obligations in new solver 2024-05-16 21:08:42 -04:00
opportunistic-region-resolve.rs
param-discr-kind.rs
pointee.rs
pointer-like.rs
pointer-like.stderr
prefer-candidate-no-constraints.rs
prefer-param-env-on-ambiguity.rs
projection-discr-kind.rs
projection-discr-kind.stderr
select-alias-bound-as-param.rs Use correct ImplSource for alias bounds 2024-05-06 14:38:35 -04:00
slice-match-byte-lit.rs
specialization-transmute.rs
specialization-transmute.stderr
specialization-unconstrained.rs
specialization-unconstrained.stderr
stall-num-var-auto-trait.fallback.stderr
stall-num-var-auto-trait.rs
structural-resolve-field.rs
trait-upcast-lhs-needs-normalization.rs
try-example.rs
unevaluated-const-impl-trait-ref.fails.stderr
unevaluated-const-impl-trait-ref.rs
unsafe-auto-trait-impl.rs
unsize-although-ambiguous.rs
unsize-good.rs
unsound-region-obligation.rs
unsound-region-obligation.stderr
upcast-right-substs.rs
upcast-wrong-substs.rs
upcast-wrong-substs.stderr
winnow-specializing-impls.rs