rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
93.58k stars 12.05k forks source link

Don't consider candidates with no failing where clauses when refining obligation causes in new solver #124771

Closed compiler-errors closed 1 week ago

compiler-errors commented 1 week ago

Improves error messages when we have param-env candidates that don't deeply unify (i.e. after alias-bounds).

r? lcnr

rustbot commented 1 week ago

Some changes occurred to the core trait solver

cc @rust-lang/initiative-trait-system-refactor

compiler-errors commented 1 week ago

@bors r=lcnr

bors commented 1 week ago

:pushpin: Commit 4e3350d43b2546281784d2ce4cf6803473a81645 has been approved by lcnr

It is now in the queue for this repository.

bors commented 1 week ago

:hourglass: Testing commit 4e3350d43b2546281784d2ce4cf6803473a81645 with merge 5a2bf5350f37756fc6be8f02b85e7724febeab4d...

rust-log-analyzer commented 1 week ago

The job armhf-gnu failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot) ```plain ```
bors commented 1 week ago

:broken_heart: Test failed - checks-actions

lcnr commented 1 week ago

@bors retry