Remove normalize_projection_type
This commit is contained in:
parent
3f2b2eee8f
commit
1930c77de1
4 changed files with 13 additions and 68 deletions
|
@ -8,14 +8,6 @@ use super::FulfillmentError;
|
|||
use super::{ObligationCause, PredicateObligation};
|
||||
|
||||
pub trait TraitEngine<'tcx>: 'tcx {
|
||||
fn normalize_projection_type(
|
||||
&mut self,
|
||||
infcx: &InferCtxt<'tcx>,
|
||||
param_env: ty::ParamEnv<'tcx>,
|
||||
projection_ty: ty::ProjectionTy<'tcx>,
|
||||
cause: ObligationCause<'tcx>,
|
||||
) -> Ty<'tcx>;
|
||||
|
||||
/// Requires that `ty` must implement the trait with `def_id` in
|
||||
/// the given environment. This trait must not have any type
|
||||
/// parameters (except for `Self`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue