diff options
| author | Eric Holk <ericholk@microsoft.com> | 2022-02-28 13:03:13 -0800 |
|---|---|---|
| committer | Eric Holk <ericholk@microsoft.com> | 2022-02-28 13:03:13 -0800 |
| commit | 1c12c92286375dd91e283a6b0cbfc32f67d045b3 (patch) | |
| tree | dd08a0608a8ed1e6184e659e683b3028dfd4f39b | |
| parent | 09aa09f1f75a3fc1b71c65201a7c228c9f4e4225 (diff) | |
| download | rust-1c12c92286375dd91e283a6b0cbfc32f67d045b3.tar.gz rust-1c12c92286375dd91e283a6b0cbfc32f67d045b3.zip | |
Fix formatting
| -rw-r--r-- | compiler/rustc_typeck/src/expr_use_visitor.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/rustc_typeck/src/expr_use_visitor.rs b/compiler/rustc_typeck/src/expr_use_visitor.rs index 9f450270941..db1c80ae433 100644 --- a/compiler/rustc_typeck/src/expr_use_visitor.rs +++ b/compiler/rustc_typeck/src/expr_use_visitor.rs @@ -49,11 +49,7 @@ pub trait Delegate<'tcx> { /// The path at `assignee_place` is being assigned to. /// `diag_expr_id` is the id used for diagnostics (see `consume` for more details). - fn mutate( - &mut self, - assignee_place: &PlaceWithHirId<'tcx>, - diag_expr_id: hir::HirId - ); + fn mutate(&mut self, assignee_place: &PlaceWithHirId<'tcx>, diag_expr_id: hir::HirId); /// The `place` should be a fake read because of specified `cause`. fn fake_read(&mut self, place: Place<'tcx>, cause: FakeReadCause, diag_expr_id: hir::HirId); |
