Checks if the right number of generic arguments was used for a type, trait, function call or method call.
Corresponds to the E0107 Rust error.