@@ -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,
@@ -621,7 +622,7 @@ impl<'a, 'gcx, 'tcx> euv::Delegate<'tcx> for CheckCrateVisitor<'a, 'gcx> {
621622 fn consume ( & mut self ,
622623 _consume_id : ast:: NodeId ,
623624 _consume_span : Span ,
624- _cmt : & mc:: cmt_ ,
625+ _cmt : & mc:: cmt_ < ' _ > ,
625626 _mode : euv:: ConsumeMode ) { }
626627
627628 fn borrow ( & mut self ,
@@ -680,11 +681,14 @@ impl<'a, 'gcx, 'tcx> euv::Delegate<'tcx> for CheckCrateVisitor<'a, 'gcx> {
680681 fn mutate ( & mut self ,
681682 _assignment_id : ast:: NodeId ,
682683 _assignment_span : Span ,
683- _assignee_cmt : & mc:: cmt_ ,
684+ _assignee_cmt : & mc:: cmt_ < ' _ > ,
684685 _mode : euv:: MutateMode ) {
685686 }
686687
687- fn matched_pat ( & mut self , _: & hir:: Pat , _: & mc:: cmt_ , _: euv:: MatchMode ) { }
688+ fn matched_pat ( & mut self , _: & hir:: Pat , _: & mc:: cmt_ < ' _ > , _: euv:: MatchMode ) { }
688689
689- fn consume_pat ( & mut self , _consume_pat : & hir:: Pat , _cmt : & mc:: cmt_ , _mode : euv:: ConsumeMode ) { }
690+ fn consume_pat ( & mut self ,
691+ _consume_pat : & hir:: Pat ,
692+ _cmt : & mc:: cmt_ < ' _ > ,
693+ _mode : euv:: ConsumeMode ) { }
690694}
0 commit comments