fn closure_return_type_suggestion(
span: Span,
err: &mut DiagnosticBuilder<'_>,
- output: &FunctionRetTy,
+ output: &FunctionRetTy<'_>,
body: &Body<'_>,
descr: &str,
name: &str,
/// needed, suggest annotating the call, otherwise point out the resulting type of the call.
fn annotate_method_call(
&self,
- segment: &hir::PathSegment,
+ segment: &hir::PathSegment<'_>,
e: &Expr<'_>,
err: &mut DiagnosticBuilder<'_>,
) {