Add a missing GenericTypeVisitable, and avoid having interner traits for FnSigKind and Abi#155562
Add a missing GenericTypeVisitable, and avoid having interner traits for FnSigKind and Abi#155562ChayimFriedman2 wants to merge 2 commits intorust-lang:mainfrom
GenericTypeVisitable, and avoid having interner traits for FnSigKind and Abi#155562Conversation
This comment has been minimized.
This comment has been minimized.
7ec1c80 to
d3e8dd3
Compare
|
The Miri subtree was changed cc @rust-lang/miri |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
d3e8dd3 to
bd82b59
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 has been minimized.
This comment has been minimized.
40a86de to
237818c
Compare
This comment has been minimized.
This comment has been minimized.
Instead, just use the concrete types `FnSigKind` and `rustc_abi::ExternAbi`. This simplifies the code in both rustc and rust-analyzer.
237818c to
83b29b6
Compare
There was a problem hiding this comment.
Seems like a win to me.
If I'm following, @ChayimFriedman2, this basically gives you more shared code that can be reused?
|
Yes. As long as r-a and rustc don't need to diverge, we should prefer to share the code. |
|
☔ The latest upstream changes (presumably #155329) made this pull request unmergeable. Please resolve the merge conflicts. |
There was a problem hiding this comment.
Thank you, I was trying to work out how to do something like this in the original refactor, but couldn't quite get it to work.
Do you think there's much risk of a perf regression from #155223?
How will this regress perf? |
|
@bors delegate+ r=me once this is rebased etc. |
|
✌️ @ChayimFriedman2, you can now approve this pull request! If @nikomatsakis told you to " |
r? types