rust-lang / rust-lang/rust-clippy

Uplift `undocumented_unsafe_blocks` to `pedantic`

Open
#11,162 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-category
Dominant language
Rust
Stars
13.5k
Forks
2.2k
Avg merge
2d 10h
Merged PRs (30d)
32

Description

Description

missing_safety_doc is warn by default, I think it makes sense to have its counterpart undocumented_unsafe_blocks at least be in pedantic. The other doc related lints like missing_panic_docs are in pedantic, so it seems to be a suitible place.

@rustbot label +A-category

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the registration and configuration for the undocumented_unsafe_blocks lint in the rust-clippy repository, then compare it with the other documentation lints already in the pedantic group. Run the relevant lint tests and confirm that the lint is enabled at the intended level and existing behavior remains covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.