let result = tcx.normalize_projection_ty(c_data)?;
// We don't expect ambiguity.
if result.is_ambiguous() {
- return Err(NoSolution);
+ bug!("unexpected ambiguity: {:?} {:?}", c_data, result);
}
let InferOk { value: result, obligations } =
self.infcx.instantiate_query_response_and_region_obligations(
let result = tcx.normalize_projection_ty(c_data)?;
// We don't expect ambiguity.
if result.is_ambiguous() {
- return Err(NoSolution);
+ bug!("unexpected ambiguity: {:?} {:?}", c_data, result);
}
let InferOk { value: result, obligations } =
self.infcx.instantiate_query_response_and_region_obligations(