Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix [undocumented_unsafe_block] and [unnecessary_safety_comment] not detecting associated constants #11813

Closed
wants to merge 3 commits into from

Conversation

J-ZhengLi
Copy link
Member

fixes: #11709

changelog: fix FP on [undocumented_unsafe_block] and [unnecessary_safety_comment]

@rustbot
Copy link
Collaborator

rustbot commented Nov 15, 2023

r? @blyxyas

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Nov 15, 2023
@blyxyas
Copy link
Member

blyxyas commented Nov 22, 2023

Sorry, I don't really have the time to review a PR with this size (=^-ω-^=) I have some important deadlines before mid-december and a lot of work. Sorry for the wait ❤️

r? @rust-lang/clippy

@rustbot rustbot assigned Alexendoo and unassigned blyxyas Nov 22, 2023
@J-ZhengLi
Copy link
Member Author

Sorry, I don't really have the time to review a PR with this size (=^-ω-^=) I have some important deadlines before mid-december and a lot of work. Sorry for the wait ❤️

r? @rust-lang/clippy

No worries~

clippy_lints/src/undocumented_unsafe_blocks.rs Outdated Show resolved Hide resolved
clippy_lints/src/undocumented_unsafe_blocks.rs Outdated Show resolved Hide resolved
clippy_lints/src/undocumented_unsafe_blocks.rs Outdated Show resolved Hide resolved
clippy_lints/src/undocumented_unsafe_blocks.rs Outdated Show resolved Hide resolved
clippy_lints/src/undocumented_unsafe_blocks.rs Outdated Show resolved Hide resolved
@J-ZhengLi J-ZhengLi force-pushed the issue11709 branch 2 times, most recently from 0fa2b78 to 030d99a Compare December 1, 2023 03:47
@bors
Copy link
Collaborator

bors commented Dec 1, 2023

☔ The latest upstream changes (presumably #11903) made this pull request unmergeable. Please resolve the merge conflicts.

Well, I mistakenly thinking it was the test file for [`undocumented_unsafe_blocks`] at first...
but it doesn't make things worse anyway, so I keep them lol.
@bors
Copy link
Collaborator

bors commented Feb 19, 2024

☔ The latest upstream changes (presumably #12306) made this pull request unmergeable. Please resolve the merge conflicts.

@xFrednet
Copy link
Member

xFrednet commented Apr 1, 2024

Hey @J-ZhengLi, this is a ping from triage, since there hasn't been any activity in some time. Could you rebase on master?

@rustbot author

@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 Apr 1, 2024
@J-ZhengLi
Copy link
Member Author

Oh nooo, because I already forgot what I did thus it's kinda hard to distinguish which lines are mine and which are add by others after this PR, at this point it might even be easier if I redo the whole thing (but with less changes I promise). It should be a simple fix tho, I don't know what have I done to make it this complicated 🤦‍♂️

I'm gonna close this and open a new PR tomorrow (hopefully) fixing this again, and sorry @Alexendoo for wasting effort XD

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.

undocumented_unsafe_blocks doesn't detect safety comment above associated constant
6 participants