@@ -28,10 +28,11 @@ use rustc::hir;
2828use rustc_data_structures:: sync:: Lrc ;
2929use syntax:: ast;
3030use syntax_pos:: { Span , DUMMY_SP } ;
31- use self :: Promotability :: * ;
31+ use log:: debug;
32+ use Promotability :: * ;
3233use std:: ops:: { BitAnd , BitAndAssign , BitOr } ;
3334
34- pub fn provide ( providers : & mut Providers ) {
35+ pub fn provide ( providers : & mut Providers < ' _ > ) {
3536 * providers = Providers {
3637 rvalue_promotable_map,
3738 const_is_rvalue_promotable_to_static,
@@ -622,7 +623,7 @@ impl<'a, 'gcx, 'tcx> euv::Delegate<'tcx> for CheckCrateVisitor<'a, 'gcx> {
622623 fn consume ( & mut self ,
623624 _consume_id : ast:: NodeId ,
624625 _consume_span : Span ,
625- _cmt : & mc:: cmt_ ,
626+ _cmt : & mc:: cmt_ < ' _ > ,
626627 _mode : euv:: ConsumeMode ) { }
627628
628629 fn borrow ( & mut self ,
@@ -681,11 +682,14 @@ impl<'a, 'gcx, 'tcx> euv::Delegate<'tcx> for CheckCrateVisitor<'a, 'gcx> {
681682 fn mutate ( & mut self ,
682683 _assignment_id : ast:: NodeId ,
683684 _assignment_span : Span ,
684- _assignee_cmt : & mc:: cmt_ ,
685+ _assignee_cmt : & mc:: cmt_ < ' _ > ,
685686 _mode : euv:: MutateMode ) {
686687 }
687688
688- fn matched_pat ( & mut self , _: & hir:: Pat , _: & mc:: cmt_ , _: euv:: MatchMode ) { }
689+ fn matched_pat ( & mut self , _: & hir:: Pat , _: & mc:: cmt_ < ' _ > , _: euv:: MatchMode ) { }
689690
690- fn consume_pat ( & mut self , _consume_pat : & hir:: Pat , _cmt : & mc:: cmt_ , _mode : euv:: ConsumeMode ) { }
691+ fn consume_pat ( & mut self ,
692+ _consume_pat : & hir:: Pat ,
693+ _cmt : & mc:: cmt_ < ' _ > ,
694+ _mode : euv:: ConsumeMode ) { }
691695}
0 commit comments