improper_ctypes
lint should cover "C" abi function pointer types.
#95683
Labels
A-FFI
Area: Foreign function interface (FFI)
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
L-improper_ctypes_definitions
Lint: improper_ctypes_definitions
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen:
improper_ctypes
should trigger for this definition.Instead, this happened: It is not linted.
The text was updated successfully, but these errors were encountered: