Change hashing/comparison of LintExpectationId (fix ICE)#154906
Change hashing/comparison of LintExpectationId (fix ICE)#154906Bryntet wants to merge 3 commits intorust-lang:mainfrom
LintExpectationId (fix ICE)#154906Conversation
|
Some changes occurred in compiler/rustc_hir/src/attrs cc @jdonszelmann, @JonathanBrouwer Some changes occurred in compiler/rustc_attr_parsing |
|
r? @nnethercote rustbot has assigned @nnethercote. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
I couldn't figure out how to make a regression test for this due to it needing the incremental cache, if you know how to I'd love to add it |
|
Reminder, once the PR becomes ready for a review, use |
7134212 to
b4897ea
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
b4897ea to
31d95d9
Compare
|
@rustbot ready added regression test and tested that it indeed does fail on main |
this fixes #154878 by removing
attr_idfromLintExpectationIdand instead usingtarget_span+attr_index+lint_indexin combination to refer to a unique lint expectation