Rule: Public function takes a private parameter type¶
Canonical rule slug: public-function-private-parameter-type. ← back to all rules
A public function's signature names a type the public headers do not declare, so consumers cannot legally form the call.
Canonical demonstration¶
- case189_public_function_private_parameter_type — Public Function Parameter Retyped to an Internal Type (🔴 BREAKING)