Skip to main content

check_dots_policies

Function check_dots_policies 

Source
fn check_dots_policies(parsed: &ParsedImpl) -> Result<()>
Expand description

Refuse a dots = empty | forward(..) | data (#2157) that describes a ... the method’s wrapper doesn’t have (DotsPolicy::check_signature): forward and data need the method’s own ... parameter; empty the wrapper’s ... formal, which is that parameter or the dispatch ... a method of a generic gets (has_dispatch_dots).