Skip to content

Commit

Permalink
Auto merge of rust-lang#132325 - lcnr:damn-son, r=<try>
Browse files Browse the repository at this point in the history
rework winnowing to sensibly handle global where-bounds

this is somewhat weird, but it at least allows us to mirror this behavior in the new solver:
- trivial builtin-impls
- non-global where-bounds, bailing with ambiguity if at least one global where-bound exists
- object ☠️ + alias-bound candidates
- merge candidates ignoring global where-bounds

r? `@compiler-errors`
  • Loading branch information
bors committed Oct 29, 2024
2 parents 2dece5b + dc50c64 commit 6d565b7
Show file tree
Hide file tree
Showing 2 changed files with 230 additions and 304 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_trait_selection/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#![feature(extract_if)]
#![feature(if_let_guard)]
#![feature(iter_intersperse)]
#![feature(iterator_try_reduce)]
#![feature(let_chains)]
#![feature(never_type)]
#![feature(rustdoc_internals)]
Expand Down
Loading

0 comments on commit 6d565b7

Please sign in to comment.