Basic removal of Ty from places (boring)
This commit is contained in:
@@ -359,7 +359,7 @@ pub fn normalize_param_env_or_error<'tcx>(
|
||||
// `ty::Const::normalize` can only work with properly preserved binders.
|
||||
|
||||
if c.has_escaping_bound_vars() {
|
||||
return ty::Const::new_misc_error(self.0, c.ty());
|
||||
return ty::Const::new_misc_error(self.0);
|
||||
}
|
||||
// While it is pretty sus to be evaluating things with an empty param env, it
|
||||
// should actually be okay since without `feature(generic_const_exprs)` the only
|
||||
|
||||
Reference in New Issue
Block a user