Skip to content

Conversation

ada4a
Copy link
Contributor

@ada4a ada4a commented Oct 12, 2025

changelog: none

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Oct 12, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 12, 2025

r? @Jarcho

rustbot has assigned @Jarcho.
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

@ada4a ada4a force-pushed the option_map_unit_fn branch from 0d05b6c to a981893 Compare October 12, 2025 12:25
@ada4a ada4a changed the title option_map_unit_fn: fix and clean-up tests, make suggestions multiline {option,result}_map_unit_fn: fix and clean-up tests, make suggestions multiline Oct 12, 2025
|
= note: `-D clippy::option-map-unit-fn` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::option_map_unit_fn)]`
help: try
Copy link
Contributor

Choose a reason for hiding this comment

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

The help message needs to be changed to something useful (e.g. 'use an if let instead'). "try" is only used with inline suggestions because longer messages looked bad.

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status) and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties labels Oct 12, 2025
ada4a added 2 commits October 17, 2025 19:32
The errors were unrelated to the lint...
@ada4a ada4a force-pushed the option_map_unit_fn branch from a981893 to 3b7b05c Compare October 17, 2025 17:39
@rustbot
Copy link
Collaborator

rustbot commented Oct 17, 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.

@ada4a
Copy link
Contributor Author

ada4a commented Oct 17, 2025

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties and removed S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status) labels Oct 17, 2025
@ada4a ada4a force-pushed the option_map_unit_fn branch from 3b7b05c to 71d17de Compare October 17, 2025 17:41
- make them `verbose` -- the ones spanning multiple lines were
  especially egregious
- give a more descriptive help message
@ada4a ada4a force-pushed the option_map_unit_fn branch from 71d17de to 98db098 Compare October 17, 2025 17:50
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.

3 participants