X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustdoc%2Fscrape_examples.rs;h=ca86ac89e8583a7b16a3b52c4e34a7438c94901d;hb=8ef557d343a94c3dd4569e6bdbfb7fe34252d0e6;hp=0d96840250332b5cb77c05c56334e2be8bdaa56a;hpb=33b5ce6433c58d4101118d58c3ae6aae0b9b1a5f;p=rust.git diff --git a/src/librustdoc/scrape_examples.rs b/src/librustdoc/scrape_examples.rs index 0d968402503..ca86ac89e85 100644 --- a/src/librustdoc/scrape_examples.rs +++ b/src/librustdoc/scrape_examples.rs @@ -159,7 +159,7 @@ fn visit_expr(&mut self, ex: &'tcx hir::Expr<'tcx>) { return; } } - hir::ExprKind::MethodCall(path, _, call_span) => { + hir::ExprKind::MethodCall(path, _, _, call_span) => { let types = tcx.typeck(ex.hir_id.owner); let Some(def_id) = types.type_dependent_def_id(ex.hir_id) else { trace!("type_dependent_def_id({}) = None", ex.hir_id);