We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08115a0 commit 9ab2a2aCopy full SHA for 9ab2a2a
1 file changed
compiler/rustc_hir_typeck/src/lib.rs
@@ -104,7 +104,7 @@ fn typeck_with_inspect<'tcx>(
104
def_id: LocalDefId,
105
inspector: Option<ObligationInspector<'tcx>>,
106
) -> &'tcx ty::TypeckResults<'tcx> {
107
- debug_assert!(!tcx.is_typeck_child(def_id.to_def_id()));
+ assert!(!tcx.is_typeck_child(def_id.to_def_id()));
108
109
let id = tcx.local_def_id_to_hir_id(def_id);
110
let node = tcx.hir_node(id);
0 commit comments