Skip to content

unsafe keyword docs: bring back unsafe_op_in_unsafe_fn lint discussion#152613

Open
RalfJung wants to merge 1 commit intorust-lang:mainfrom
RalfJung:unsafe-keyword-docs
Open

unsafe keyword docs: bring back unsafe_op_in_unsafe_fn lint discussion#152613
RalfJung wants to merge 1 commit intorust-lang:mainfrom
RalfJung:unsafe-keyword-docs

Conversation

@RalfJung
Copy link
Member

@RalfJung RalfJung commented Feb 14, 2026

@traviscross in #141471 you asked me to also update the text to account for the edition change. Apparently I did that by entirely removing this part of the discussion (except for a dangling forward reference, a "see below"). Given that old editions still exist and given that unsafe_op_in_unsafe_fn is just a lint so the old behavior also still exists on new editions, I am no longer sure that was a good idea, so this brings back the old text with some editing to explain the current situation.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Feb 14, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 14, 2026

r? @Mark-Simulacrum

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

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @ChrisDenton, libs
  • @ChrisDenton, libs expanded to 8 candidates
  • Random selection from Mark-Simulacrum, joboet

@traviscross
Copy link
Contributor

Will remind myself of the earlier discussion and have a look.

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. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants