Prefer TraitPredicate over ConstnessAnd<TraitRef>
This commit is contained in:
parent
40f39e6c6a
commit
b16c811f1c
2 changed files with 10 additions and 25 deletions
|
@ -12,7 +12,7 @@ use rustc_hir::def_id::DefId;
|
|||
use rustc_query_system::cache::Cache;
|
||||
|
||||
pub type SelectionCache<'tcx> = Cache<
|
||||
(ty::ConstnessAnd<ty::ParamEnvAnd<'tcx, ty::TraitRef<'tcx>>>, ty::ImplPolarity),
|
||||
ty::ParamEnvAnd<'tcx, ty::TraitPredicate<'tcx>>,
|
||||
SelectionResult<'tcx, SelectionCandidate<'tcx>>,
|
||||
>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue