File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/librustc_mir/transform Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ pub fn equal_up_to_regions(
7474 fn relate_with_variance < T : Relate < ' tcx > > (
7575 & mut self ,
7676 _: ty:: Variance ,
77- a : & T ,
78- b : & T ,
77+ a : T ,
78+ b : T ,
7979 ) -> RelateResult < ' tcx , T > {
8080 // Ignore variance, require types to be exactly the same.
8181 self . relate ( a, b)
@@ -108,8 +108,8 @@ pub fn equal_up_to_regions(
108108
109109 fn binders < T > (
110110 & mut self ,
111- a : & ty:: Binder < T > ,
112- b : & ty:: Binder < T > ,
111+ a : ty:: Binder < T > ,
112+ b : ty:: Binder < T > ,
113113 ) -> RelateResult < ' tcx , ty:: Binder < T > >
114114 where
115115 T : Relate < ' tcx > ,
@@ -121,7 +121,7 @@ pub fn equal_up_to_regions(
121121
122122 // Instantiate and run relation.
123123 let mut relator: LifetimeIgnoreRelation < ' tcx > = LifetimeIgnoreRelation { tcx : tcx, param_env } ;
124- relator. relate ( & src, & dest) . is_ok ( )
124+ relator. relate ( src, dest) . is_ok ( )
125125}
126126
127127struct TypeChecker < ' a , ' tcx > {
You can’t perform that action at this time.
0 commit comments