fn check_trait_method_defaults(
defaults: &HashMap<String, String>,
inputs: &Punctuated<FnArg, Comma>,
span: Span,
) -> Result<()>Expand description
Reject a defaults(...) entry that names no parameter of the trait
method, with the inherent-impl wording (a typo would otherwise drop the
default without a word).