rust/tests/ui/traits/next-solver
bors cb4d9a1902 Auto merge of #119101 - compiler-errors:outlives, r=lcnr
Normalize region obligation in lexical region resolution with next-gen solver

This normalizes region obligations when we `resolve_regions`, since they may be unnormalized with deferred projection equality.

It's pretty hard to add tests that exercise this without also triggering MIR borrowck errors (because we don't normalize there yet). I've added one test with two revisions that should test that we both 1. normalize region obligations in the param env, and 2. normalize registered region obligations during lexical region resolution.
2024-01-30 19:22:04 +00:00
..
alias-relate move alias-relate tests 2024-01-26 15:55:23 +01:00
assembly bye bye assemble_candidates_via_self_ty 2024-01-29 14:32:06 +01:00
coherence
cycles add comments and tests 2024-01-09 11:53:50 +01:00
generalize
overflow bye bye assemble_candidates_via_self_ty 2024-01-29 14:32:06 +01:00
projection
alias-bound-preference.rs
alias-bound-unsound.rs Rollup merge of #120293 - estebank:issue-102629, r=nnethercote 2024-01-30 16:57:47 +01:00
alias-bound-unsound.stderr Rollup merge of #120293 - estebank:issue-102629, r=nnethercote 2024-01-30 16:57:47 +01:00
alias-eq-in-canonical-response.rs
alias-sub.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
canonical-int-var-eq-in-response.rs
canonical-ty-var-eq-in-response.rs
canonicalize-effect-var.rs
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 Use alias-eq in structural normalization 2023-12-18 19:22:43 +00:00
const-param-placeholder.fail.stderr
const-param-placeholder.rs
coroutine.fail.stderr
coroutine.rs
deduce-closure-signature-after-normalization.rs
deduce-ty-from-object.rs
dedup-regions.rs
destruct.rs
dont-coerce-infer-to-dyn.rs
dont-elaborate-for-projections.rs
dont-ice-on-assoc-projection.rs
dont-ice-on-assoc-projection.stderr Bless tests 2024-01-13 12:46:58 -05:00
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 bye bye assemble_candidates_via_self_ty 2024-01-29 14:32:06 +01:00
dont-type_of-tait-in-defining-scope.not_send.stderr bye bye assemble_candidates_via_self_ty 2024-01-29 14:32:06 +01:00
dont-type_of-tait-in-defining-scope.rs bye bye assemble_candidates_via_self_ty 2024-01-29 14:32:06 +01:00
dyn-any-dont-prefer-impl.rs
elaborate-item-bounds.rs
equating-projection-cyclically.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 Opportunistically resolve region var in canonicalizer 2023-12-15 05:02:37 +00:00
issue-118950-root-region.stderr Move type relations into submodule in rustc_infer 2023-12-15 18:13:40 +00:00
iter-filter-projection.rs
lazy-nested-obligations-1.rs
lazy-nested-obligations-2.rs
lazy-nested-obligations-3.rs
member-constraints-in-root-universe.rs
more-object-bound.rs
more-object-bound.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
negative-coherence-bounds.rs
negative-coherence-bounds.stderr
nested-alias-bound.rs
nested-obligations-with-bound-vars-gat.rs
normalize-async-closure-in-trait.rs
normalize-param-env-1.rs
normalize-param-env-2.rs
normalize-param-env-3.rs
normalize-path-for-method.rs next-solver: normalize in LoweredTy::from_raw 2024-01-26 15:54:57 +01:00
normalize-rcvr-for-inherent.rs
normalize-region-obligations.rs Add a test 2024-01-30 00:06:53 +00:00
normalize-unsize-rhs.rs Revert "Auto merge of #118133 - Urgau:stabilize_trait_upcasting, r=WaffleLapkin" 2024-01-22 14:24:31 +00:00
normalized-const-built-in-op.rs
normalizes_to_ignores_unnormalizable_candidate.rs
normalizes_to_ignores_unnormalizable_candidate.self_infer.stderr
object-soundness-requires-generalization.rs
object-unsafety.rs Use alias-eq in structural normalization 2023-12-18 19:22:43 +00:00
object-unsafety.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
opportunistic-region-resolve.rs
param-candidate-doesnt-shadow-project.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
slice-match-byte-lit.rs
specialization-transmute.rs Deeply normalize when processing registered region obligations 2024-01-30 00:06:53 +00:00
specialization-transmute.stderr Deeply normalize when processing registered region obligations 2024-01-30 00:06:53 +00:00
specialization-unconstrained.rs
specialization-unconstrained.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
stall-num-var-auto-trait.fallback.stderr
stall-num-var-auto-trait.rs
structural-resolve-field.rs
trait-upcast-lhs-needs-normalization.rs Revert "Auto merge of #118133 - Urgau:stabilize_trait_upcasting, r=WaffleLapkin" 2024-01-22 14:24:31 +00:00
try-example.rs
two-projection-param-candidates-are-ambiguous.rs
two-projection-param-candidates-are-ambiguous.stderr
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 Apply suggestions from review 2024-01-30 00:09:58 +00:00
unsound-region-obligation.stderr Apply suggestions from review 2024-01-30 00:09:58 +00:00
upcast-right-substs.rs Revert "Auto merge of #118133 - Urgau:stabilize_trait_upcasting, r=WaffleLapkin" 2024-01-22 14:24:31 +00:00
upcast-wrong-substs.rs
upcast-wrong-substs.stderr
winnow-specializing-impls.rs