We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f09bc7 commit e813b6dCopy full SHA for e813b6d
compiler/rustc_infer/src/infer/error_reporting/suggest.rs
@@ -463,7 +463,7 @@ impl<'tcx> TypeErrCtxt<'_, 'tcx> {
463
None
464
}
465
466
- // FIXME: Remove once rustc_hir_typeck is migrated to Diagnostics
+ // FIXME: Remove once `rustc_hir_typeck` is migrated to diagnostic structs
467
pub fn should_suggest_as_ref(&self, expected: Ty<'tcx>, found: Ty<'tcx>) -> Option<&str> {
468
match self.should_suggest_as_ref_kind(expected, found) {
469
Some(SuggestAsRefKind::Option) => Some(
0 commit comments