Skip to content

use LocalDefId instead of HirId in trait resolution to simplify the obligation clause resolution - #103902

Merged
bors merged 1 commit into
rust-lang:masterfrom
vincenzopalazzo:macros/obligation_rulesv2
Jan 25, 2023
Merged

bors merged 1 commit into
rust-lang:masterfrom
vincenzopalazzo:macros/obligation_rulesv2

Conversation

@vincenzopalazzo

@vincenzopalazzo vincenzopalazzo commented Nov 2, 2022 •

Copy link
Copy Markdown
Member

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_id to something else.

Fixes #104827

Signed-off-by: Vincenzo Palazzo vincenzopalazzodev@gmail.com

@rustbot r? @lcnr

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

internal compiler error: local_def_id: no entry for HirId