Error Identifiers: function.*

Menu

← Back to all error identifiers

There are 16 error identifiers in the function.* group:

  • Type-checking function call is redundant because the type is already narrowed.

  • Called function is marked as deprecated.

  • Function is declared multiple times.

  • Type-checking function call will always evaluate to false.

  • Named function is declared inside another function.

  • Called function is marked as internal and not part of the public API.

  • Unnecessary (void) cast on a function that does not require its return value to be used.

  • Function is called with incorrect letter casing.

  • Called function does not exist or cannot be found.

  • Return value of a #[NoDiscard] function is not used.

  • Return value of a pure function call is not used.

  • Function call is missing the strict comparison parameter.

  • Return type of a function call contains an unresolvable type after template substitution.

  • Return value of a function like print_r() is useless without the return parameter.

  • Variance annotation on a function template type is not meaningful.

  • Return value of a void function is being used.