Skip to content

lint ImproperCTypes: refactor linting architecture (part 2) - #146273

Merged
rust-bors[bot] merged 2 commits into
rust-lang:mainfrom
niacdoial:improperctypes-refactor2
May 7, 2026
Merged

rust-bors[bot] merged 2 commits into
rust-lang:mainfrom
niacdoial:improperctypes-refactor2

Conversation

@niacdoial

@niacdoial niacdoial commented Sep 6, 2025 •

Copy link
Copy Markdown
Contributor

View all comments

This is the second PR in an effort to split #134697 (refactor plus overhaul of the ImproperCTypes family of lints) into individually-mergeable parts.

Contains the changes of the first PR, and splits the core type checking function into several bits, each focused on a specific aspect of FFI-safety.
Some logic which was outside of said core function was also moved into the new functions.

Superset of: #146271

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

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants