Skip to content

Commit e813b6d

Browse files
IntQuantdavidtwco
andcommitted
Update compiler/rustc_infer/src/infer/error_reporting/suggest.rs
Co-authored-by: David Wood <[email protected]>
1 parent 1f09bc7 commit e813b6d

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_infer/src/infer/error_reporting

1 file changed

+1
-1
lines changed

compiler/rustc_infer/src/infer/error_reporting/suggest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ impl<'tcx> TypeErrCtxt<'_, 'tcx> {
463463
None
464464
}
465465

466-
// FIXME: Remove once rustc_hir_typeck is migrated to Diagnostics
466+
// FIXME: Remove once `rustc_hir_typeck` is migrated to diagnostic structs
467467
pub fn should_suggest_as_ref(&self, expected: Ty<'tcx>, found: Ty<'tcx>) -> Option<&str> {
468468
match self.should_suggest_as_ref_kind(expected, found) {
469469
Some(SuggestAsRefKind::Option) => Some(

0 commit comments

Comments
 (0)