Skip to content

Conversation

@hcbarker
Copy link
Contributor

@hcbarker hcbarker commented Oct 28, 2025

Checks for calls to functions marked with #[clippy::may_panic] or configured in may-panic-functions that lack a // Panic: comment documenting why the panic is acceptable.

fixes #15861

changelog: new_lint: [undocumented_may_panic_call]

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

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

@rustbot

This comment has been minimized.

@hcbarker
Copy link
Contributor Author

r? blyxyas

@rustbot rustbot assigned blyxyas and unassigned Jarcho Oct 28, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 28, 2025

blyxyas is not on the review rotation at the moment.
They may take a while to respond.

Checks for calls to functions marked with `#[clippy::may_panic]` or
configured in `may-panic-functions` that lack a `// Panic:` comment
documenting why the panic is acceptable.

changelog: new_lint: [`undocumented_may_panic_call`]
@hcbarker hcbarker force-pushed the may-panic-attribute branch from bab87c9 to 4bb7fdc Compare October 28, 2025 08:02
@blyxyas blyxyas added the G-Rust-for-Linux Issues related to Rust-for-Linux wants and bugfixes label Oct 28, 2025
@rustbot
Copy link
Collaborator

rustbot commented Nov 1, 2025

☔ The latest upstream changes (possibly 7562179) made this pull request unmergeable. Please resolve the merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

G-Rust-for-Linux Issues related to Rust-for-Linux wants and bugfixes needs-fcp 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.

// PANIC comment on panic-able calls

4 participants