diff options
| author | bors <bors@rust-lang.org> | 2025-09-07 04:17:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-09-07 04:17:27 +0000 |
| commit | ebdf2abea4b46fcbba959eee1207c979c77dc95c (patch) | |
| tree | a826f2b29c81df2e3acdce7388a4edc2a936b129 /compiler/rustc_lint/src/lib.rs | |
| parent | f4b2f68e046a42309ca8faed411f7cd5b267cfb9 (diff) | |
| parent | 20f050b44431ac1e0dd2a6285b736a0d5c046ce3 (diff) | |
| download | rust-ebdf2abea4b46fcbba959eee1207c979c77dc95c.tar.gz rust-ebdf2abea4b46fcbba959eee1207c979c77dc95c.zip | |
Auto merge of #146271 - niacdoial:improperctypes-refactor1, r=tgross35
lint ImproperCTypes: refactor linting architecture (part 1) This is the first PR in an effort to split rust-lang/rust#134697 into individually-mergeable parts. This one focuses on properly packaging the lint and its tests, as well as properly separate the "linting" and "type-checking" code. There is exactly one user-visible change: the safety of `Option<Box<FFISafePointee>>` is now the same in `extern` blocks and function definitions: it is safe. r? `@tgross35` because you are already looking at the original
Diffstat (limited to 'compiler/rustc_lint/src/lib.rs')
| -rw-r--r-- | compiler/rustc_lint/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_lint/src/lib.rs b/compiler/rustc_lint/src/lib.rs index bdbac7fc4d1..9bb53fea54a 100644 --- a/compiler/rustc_lint/src/lib.rs +++ b/compiler/rustc_lint/src/lib.rs @@ -194,8 +194,7 @@ late_lint_methods!( DefaultCouldBeDerived: DefaultCouldBeDerived::default(), DerefIntoDynSupertrait: DerefIntoDynSupertrait, DropForgetUseless: DropForgetUseless, - ImproperCTypesDeclarations: ImproperCTypesDeclarations, - ImproperCTypesDefinitions: ImproperCTypesDefinitions, + ImproperCTypesLint: ImproperCTypesLint, InvalidFromUtf8: InvalidFromUtf8, VariantSizeDifferences: VariantSizeDifferences, PathStatements: PathStatements, |
