diff options
| author | niacdoial <niac.notirl@gmail.com> | 2025-08-24 00:05:14 +0200 |
|---|---|---|
| committer | niacdoial <niac.notirl@gmail.com> | 2025-09-06 21:46:33 +0200 |
| commit | 050c1197841082f1251251b717cad26690627a11 (patch) | |
| tree | c8a237665b60646e7b6e786b6a735ea83d449233 /compiler/rustc_lint/src/lib.rs | |
| parent | 33943d183207980a56387ca78dc7865b21b99c10 (diff) | |
| download | rust-050c1197841082f1251251b717cad26690627a11.tar.gz rust-050c1197841082f1251251b717cad26690627a11.zip | |
ImproperCTypes: re-separate linting and checking
no visible changes to rust users, just making the inner architecture of the ImproperCTypes lints more sensible, with a clean separation between the struct (now singular) that interacts with the linting system and the struct (now singular) that visits the types to check FFI-safety
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, |
