diff options
| author | Hirochika Matsumoto <matsujika@gmail.com> | 2021-01-31 16:52:46 +0900 |
|---|---|---|
| committer | Hirochika Matsumoto <matsujika@gmail.com> | 2021-01-31 16:52:46 +0900 |
| commit | f45a99361a1c8691de15b99f3d8073ba4b433ae0 (patch) | |
| tree | 3245e7152c14e880ff1924a3e3a0203f4ddf1342 /compiler | |
| parent | a292ac7177f8d2c2124b28201a33f83d7ce732e8 (diff) | |
| download | rust-f45a99361a1c8691de15b99f3d8073ba4b433ae0.tar.gz rust-f45a99361a1c8691de15b99f3d8073ba4b433ae0.zip | |
Rustfmt
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_infer/src/infer/error_reporting/mod.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/infer/error_reporting/mod.rs b/compiler/rustc_infer/src/infer/error_reporting/mod.rs index eae0d1e28da..28a808f473b 100644 --- a/compiler/rustc_infer/src/infer/error_reporting/mod.rs +++ b/compiler/rustc_infer/src/infer/error_reporting/mod.rs @@ -1826,7 +1826,10 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> { exp_found: &ty::error::ExpectedFound<Ty<'tcx>>, diag: &mut DiagnosticBuilder<'tcx>, ) { - debug!("suggest_accessing_field_where_appropriate(cause={:?}, exp_found={:?})", cause, exp_found); + debug!( + "suggest_accessing_field_where_appropriate(cause={:?}, exp_found={:?})", + cause, exp_found + ); if let ty::Adt(expected_def, expected_substs) = exp_found.expected.kind() { if expected_def.is_enum() { return; |
