We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b00ba38 commit 12d9f4eCopy full SHA for 12d9f4e
src/librustc_ty/instance.rs
@@ -89,6 +89,7 @@ fn resolve_associated_item<'tcx>(
89
param_env, trait_item, rcvr_substs, impl_data
90
);
91
assert!(!rcvr_substs.needs_infer());
92
+ assert!(!trait_ref.needs_infer());
93
94
let trait_def_id = tcx.trait_id_of_impl(impl_data.impl_def_id).unwrap();
95
let trait_def = tcx.trait_def(trait_def_id);
0 commit comments