use LocalDefId instead of HirId in trait resolution to simplify the obligation clause resolution#103902
Conversation
|
r? @nagisa (rustbot has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
a8d2b49 to
c7f97b2
Compare
This comment has been minimized.
This comment has been minimized.
lcnr
left a comment
There was a problem hiding this comment.
didn't yet look through everything, will do the rest of this PR later
c7f97b2 to
16dc523
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
41028d8 to
73e2d77
Compare
This comment has been minimized.
This comment has been minimized.
|
☔ The latest upstream changes (presumably #103978) made this pull request unmergeable. Please resolve the merge conflicts. |
compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
Outdated
Show resolved
Hide resolved
compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
Outdated
Show resolved
Hide resolved
compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
Outdated
Show resolved
Hide resolved
compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
Outdated
Show resolved
Hide resolved
compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
Outdated
Show resolved
Hide resolved
|
@rustbot author |
73e2d77 to
e263973
Compare
e263973 to
bafe349
Compare
|
⌛ Testing commit 7d2c110 with merge 7953c4b0d4f5a2d237eca649840ff1f8c048b78d... |
|
💥 Test timed out |
|
@bors retry |
|
⌛ Testing commit 7d2c110 with merge 8e4fe1c424fb53f568412de91412d244d96f868d... |
|
💥 Test timed out |
|
@bors retry timeout |
|
⌛ Testing commit 7d2c110 with merge b98e2203189b297d9f2800668e7b84e62d79b7b0... |
|
💔 Test failed - checks-actions |
|
@bors retry unable to access 'https://github.com/rust-lang/stdarch.git/': Failed to connect to github.com port 443: Connection timed out |
|
☀️ Test successful - checks-actions |
1 similar comment
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (027c850): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. |
This commit introduces a refactoring suggested by @lcnr to simplify the obligation clause resolution.
This is just the first PR that introduces a type of refactoring, but others PRs will follow this to introduce name changing to change from the variable name from
body_idto something else.Fixes #104827
Signed-off-by: Vincenzo Palazzo vincenzopalazzodev@gmail.com
@rustbot r? @lcnr