diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2020-06-09 17:44:04 -0400 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2020-06-10 17:30:11 -0400 |
| commit | 6b3ee8f6000ea0fe88d1d19bceac9441a43d8694 (patch) | |
| tree | 2a3910b17ae177358d8be60c57bf66dd4d9f3218 /clippy_lints/src/mut_reference.rs | |
| parent | 8db24840f7457f005cb73807197992922ca960b1 (diff) | |
| download | rust-6b3ee8f6000ea0fe88d1d19bceac9441a43d8694.tar.gz rust-6b3ee8f6000ea0fe88d1d19bceac9441a43d8694.zip | |
Update Clippy for MethodCall changes
Diffstat (limited to 'clippy_lints/src/mut_reference.rs')
| -rw-r--r-- | clippy_lints/src/mut_reference.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/mut_reference.rs b/clippy_lints/src/mut_reference.rs index 58a8e1a1064..7fcf15f8acb 100644 --- a/clippy_lints/src/mut_reference.rs +++ b/clippy_lints/src/mut_reference.rs @@ -42,7 +42,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnnecessaryMutPassed { ); } }, - ExprKind::MethodCall(ref path, _, ref arguments) => { + ExprKind::MethodCall(ref path, _, ref arguments, _) => { let def_id = cx.tables.type_dependent_def_id(e.hir_id).unwrap(); let substs = cx.tables.node_substs(e.hir_id); let method_type = cx.tcx.type_of(def_id).subst(cx.tcx, substs); |
