Skip to content

Conversation

@samueltardieu
Copy link
Member

Also, simplify boolean shortcut expression, and ensure that applicability is properly applied, as it was ignored and MachineApplicable was always used.

changelog: [borrow_as_ptr]: do not remove required parentheses in autofix suggestion

Close #13882

@rustbot
Copy link
Collaborator

rustbot commented Dec 27, 2024

r? @y21

rustbot has assigned @y21.
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 Dec 27, 2024
@blyxyas
Copy link
Member

blyxyas commented Dec 28, 2024

Timo has a lot of work, I'll reassign to myself the ones with no review yet.

r? blyxyas

@rustbot rustbot assigned blyxyas and unassigned y21 Dec 28, 2024
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.

Could you add a little comment explaining this change? I would just let it pass if there wasn't anything left to do, but we still need to squash the commits into one.

So, just a mini-nit.

@samueltardieu
Copy link
Member Author

Could you add a little comment explaining this change? I would just let it pass if there wasn't anything left to do, but we still need to squash the commits into one.

Done and done.

Also, simplify boolean expression, and ensure that proper applicability
is used.
@blyxyas blyxyas added this pull request to the merge queue Dec 29, 2024
Merged via the queue into rust-lang:master with commit b57d98b Dec 29, 2024
9 checks passed
@samueltardieu samueltardieu deleted the push-lzzwvlsnzyvy branch December 30, 2024 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties

Projects

None yet

Development

Successfully merging this pull request may close these issues.

borrow-as-ptr eats parenthesis which break code

4 participants