diff options
| author | IQuant <quant3234@gmail.com> | 2023-03-09 19:47:30 +0300 |
|---|---|---|
| committer | IQuant <quant3234@gmail.com> | 2023-04-04 18:50:07 +0300 |
| commit | e813b6d6e1ef76a94a68f98316d76517d7ce0719 (patch) | |
| tree | 20d4f65689d32a224f2ea4f1ce8498f53d47318c | |
| parent | 1f09bc77c1b72ccd0a037cb0d5729749d3acb304 (diff) | |
| download | rust-e813b6d6e1ef76a94a68f98316d76517d7ce0719.tar.gz rust-e813b6d6e1ef76a94a68f98316d76517d7ce0719.zip | |
Update compiler/rustc_infer/src/infer/error_reporting/suggest.rs
Co-authored-by: David Wood <agile.lion3441@fuligin.ink>
| -rw-r--r-- | compiler/rustc_infer/src/infer/error_reporting/suggest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/infer/error_reporting/suggest.rs b/compiler/rustc_infer/src/infer/error_reporting/suggest.rs index fecfc53c86a..a13c9651834 100644 --- a/compiler/rustc_infer/src/infer/error_reporting/suggest.rs +++ b/compiler/rustc_infer/src/infer/error_reporting/suggest.rs @@ -463,7 +463,7 @@ impl<'tcx> TypeErrCtxt<'_, 'tcx> { None } - // FIXME: Remove once rustc_hir_typeck is migrated to Diagnostics + // FIXME: Remove once `rustc_hir_typeck` is migrated to diagnostic structs pub fn should_suggest_as_ref(&self, expected: Ty<'tcx>, found: Ty<'tcx>) -> Option<&str> { match self.should_suggest_as_ref_kind(expected, found) { Some(SuggestAsRefKind::Option) => Some( |
