about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-05-17 10:33:08 +0200
committerGitHub <noreply@github.com>2025-05-17 10:33:08 +0200
commit8c14588fbb5c2b410d0d169c41c851458e02048b (patch)
tree11e0a730245b2648eefbde6854b62b10cafc8301 /compiler/rustc_codegen_llvm/src
parenta69bc17fb8026bdc0d24bb1896ff95f0eba1da4e (diff)
parent38c05a68ee94a01ac9ef91ab0b7d0d3fc6a33bda (diff)
downloadrust-8c14588fbb5c2b410d0d169c41c851458e02048b.tar.gz
rust-8c14588fbb5c2b410d0d169c41c851458e02048b.zip
Rollup merge of #140208 - compiler-errors:wf-coinductive, r=lcnr
Make well-formedness predicates no longer coinductive

This PR makes well-formedness no longer coinductive. It was made coinductive in https://github.com/rust-lang/rust/pull/98542, but AFAICT this was only to fix UI tests since we stopped lowering `where Ty:` to an empty-region outlives predicate but to a WF predicate instead.

Arguably it should lower to something completely different, something like a "type mentioned no-op predicate", but well-formedness serves this purpose fine today, and since no code (according to crater) relies on this coinductive behavior, we'd like to avoid having to emulate it in the new solver.

Fixes #123456 (I didn't want to add a test since it seems low-value to have a ICE test for a fuzzer minimization that is basically garbage code.)

Fixes #109764 (not sure if this behavior is emulatable w/o coinductive WF?)

Fixes https://github.com/rust-lang/trait-system-refactor-initiative/issues/169

r? lcnr
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions