Skip to content

Conversation

@profetia
Copy link
Contributor

@profetia profetia commented Aug 21, 2025

Closes #15347

changelog: [branches-sharing-code] fix wrong suggestions on const and static

@rustbot
Copy link
Collaborator

rustbot commented Aug 21, 2025

r? @blyxyas

rustbot has assigned @blyxyas.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Aug 21, 2025
@github-actions
Copy link

github-actions bot commented Aug 21, 2025

Lintcheck changes for f83c72f

Lint Added Removed Changed
clippy::match_same_arms 1 0 0

This comment will be updated if you push new changes

@profetia profetia force-pushed the issue15347 branch 2 times, most recently from 8fbd252 to c1f05aa Compare August 21, 2025 03:44
@profetia
Copy link
Contributor Author

profetia commented Sep 6, 2025

r? clippy

@rustbot rustbot assigned dswij and unassigned blyxyas Sep 6, 2025
@profetia
Copy link
Contributor Author

r? clippy

@rustbot rustbot assigned Jarcho and unassigned dswij Sep 30, 2025
@rustbot

This comment has been minimized.

@rustbot

This comment has been minimized.

@profetia
Copy link
Contributor Author

r? clippy

@rustbot rustbot assigned llogiq and unassigned Jarcho Oct 21, 2025
@profetia
Copy link
Contributor Author

profetia commented Nov 5, 2025

r? clippy

@rustbot rustbot assigned samueltardieu and unassigned llogiq Nov 5, 2025
@rustbot

This comment has been minimized.

@rustbot

This comment has been minimized.

@profetia
Copy link
Contributor Author

r? clippy

@rustbot rustbot assigned Centri3 and unassigned samueltardieu Nov 25, 2025
Copy link
Member

@blyxyas blyxyas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great pull request, sorry that it took this much to review, it was pretty daunting when looking through the code.

View changes since this review

}
},
(ItemKind::Mod(l_ident, l_mod), ItemKind::Mod(r_ident, r_mod)) => {
l_ident.name == r_ident.name && over(l_mod.item_ids, r_mod.item_ids, |l, r| self.eq_item(*l, *r))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know that it's technically outside the scope of the PR, but could you change the eq_fn on over to be is_equal? Having the nomenclature for a closure be equal to the existing eq_fn_sig, eq_fn_decl is a bit confusing...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Umm, what is_equal?

@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Nov 26, 2025
@rustbot
Copy link
Collaborator

rustbot commented Nov 26, 2025

Reminder, once the PR becomes ready for a review, use @rustbot ready.

@rustbot rustbot added the S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status) label Nov 26, 2025
@rustbot
Copy link
Collaborator

rustbot commented Nov 27, 2025

This PR was rebased onto a different master 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.

@profetia profetia requested a review from blyxyas November 27, 2025 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

branches-sharing-code does not work when the shared references code inside branches

9 participants