impl_trans_normalize!('gcx,
Ty<'gcx>,
+ &'gcx ty::Const<'gcx>,
&'gcx Substs<'gcx>,
ty::FnSig<'gcx>,
ty::PolyFnSig<'gcx>,
let param_env = ty::ParamEnv::empty(Reveal::All);
let value = self.erase_regions(value);
- if !value.has_projection_types() {
+ if !value.has_projections() {
return value;
}
let value = self.erase_regions(value);
- if !value.has_projection_types() {
+ if !value.has_projections() {
return value;
}
}
}
- pub fn unsolved_variables(&self) -> Vec<ty::Ty<'tcx>> {
+ pub fn unsolved_variables(&self) -> Vec<Ty<'tcx>> {
let mut variables = Vec::new();
let unbound_ty_vars = self.type_variables