@@ -44,7 +44,7 @@ Converting types can require:
44
44
45
45
So as you can see, in general translating types requires knowing the
46
46
trait hierarchy. But this gets a bit tricky because translating the
47
- trait hierarchy requires convering the types that appear in trait
47
+ trait hierarchy requires converting the types that appear in trait
48
48
references. One potential saving grace is that in general knowing the
49
49
trait hierarchy is only necessary for shorthands like `T::X` or
50
50
handling omitted lifetime bounds on object types. Therefore, if we are
@@ -1778,12 +1778,12 @@ fn check_method_self_type<'a, 'tcx, RS:RegionScope>(
1778
1778
& ty:: liberate_late_bound_regions (
1779
1779
tcx, body_scope, & ty:: Binder ( base_type) ) ) ;
1780
1780
1781
- // debug!("required_type={} required_type_free={} \
1782
- // base_type={} base_type_free={}",
1783
- // required_type.repr(tcx),
1784
- // required_type_free.repr(tcx),
1785
- // base_type.repr(tcx),
1786
- // base_type_free.repr(tcx));
1781
+ debug ! ( "required_type={} required_type_free={} \
1782
+ base_type={} base_type_free={}",
1783
+ required_type. repr( tcx) ,
1784
+ required_type_free. repr( tcx) ,
1785
+ base_type. repr( tcx) ,
1786
+ base_type_free. repr( tcx) ) ;
1787
1787
1788
1788
let infcx = infer:: new_infer_ctxt ( tcx) ;
1789
1789
drop ( :: require_same_types ( tcx,
0 commit comments