about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/interface.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-24 11:17:21 +0000
committerbors <bors@rust-lang.org>2024-03-24 11:17:21 +0000
commit6a92312a1eaf5d9cffe3bdf9aaecbfdf8e2e35d9 (patch)
tree41b755a4ed40db28d8287cb1b38606cd6deca2cb /compiler/rustc_interface/src/interface.rs
parent4a52e9cc2acf102da113d1b6c712afc5fcf4db13 (diff)
parent33614886812c6c4a3b68a3cdd5b3bb5a3626ce49 (diff)
downloadrust-6a92312a1eaf5d9cffe3bdf9aaecbfdf8e2e35d9.tar.gz
rust-6a92312a1eaf5d9cffe3bdf9aaecbfdf8e2e35d9.zip
Auto merge of #122891 - compiler-errors:encode-implied-predicates-always, r=oli-obk
Encode implied predicates for traits

In #112629, we decided to make associated type bounds in the "supertrait" AST position *implied* even though they're not supertraits themselves.

This means that the `super_predicates` and `implied_predicates` queries now differ for regular traits. The assumption that they didn't differ was hard-coded in #107614, so in cross-crate positions this means that we forget the implied predicates from associated type bounds.

This isn't unsound, just kind of annoying. This should be backported since associated type bounds are slated to stabilize for 1.78 -- either that, or associated type bounds can be reverted on beta and re-shipped in 1.79 with this patch.

Fixes #122859
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
0 files changed, 0 insertions, 0 deletions