Skip to content

Commit 51c0b3e

Browse files
committed
wip: probing
1 parent 05a8bbf commit 51c0b3e

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

  • compiler/rustc_hir_typeck/src/method

compiler/rustc_hir_typeck/src/method/probe.rs

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,23 @@ impl<'a, 'tcx> ProbeContext<'a, 'tcx> {
820820
| ty::Tuple(..) => {
821821
self.assemble_inherent_candidates_for_incoherent_ty(raw_self_ty, receiver_steps)
822822
}
823-
_ => {}
823+
824+
ty::Field(..) => todo!("field_projections"),
825+
826+
ty::Alias(..)
827+
| ty::Bound(..)
828+
| ty::Closure(..)
829+
| ty::Coroutine(..)
830+
| ty::CoroutineClosure(..)
831+
| ty::CoroutineWitness(..)
832+
| ty::Dynamic(..)
833+
| ty::Error(..)
834+
| ty::FnDef(..)
835+
| ty::FnPtr(..)
836+
| ty::Infer(..)
837+
| ty::Pat(..)
838+
| ty::Placeholder(..)
839+
| ty::UnsafeBinder(..) => {}
824840
}
825841
}
826842

0 commit comments

Comments
 (0)