Skip to content

Tidy check against undocumented unsafe misses some cases #160946

Description

@clarfonthey

It should lint against:

  • unsafe {} (currently implemented)
  • unsafe impl
  • #[unsafe(...)] attributes

Right now this is just done by string patterns, so, unsafe { should be joined by unsafe impl and [unsafe(.

Metadata

Metadata

Assignees

Labels

A-tidyArea: The tidy toolC-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions