squash OpaqueTy and ProjectionTy into AliasTy
This commit is contained in:
parent
5c6afb850c
commit
c13bd83528
66 changed files with 182 additions and 197 deletions
|
@ -77,11 +77,11 @@ pub struct ProjectionCacheStorage<'tcx> {
|
|||
|
||||
#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq)]
|
||||
pub struct ProjectionCacheKey<'tcx> {
|
||||
ty: ty::ProjectionTy<'tcx>,
|
||||
ty: ty::AliasTy<'tcx>,
|
||||
}
|
||||
|
||||
impl<'tcx> ProjectionCacheKey<'tcx> {
|
||||
pub fn new(ty: ty::ProjectionTy<'tcx>) -> Self {
|
||||
pub fn new(ty: ty::AliasTy<'tcx>) -> Self {
|
||||
Self { ty }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue