Workaround stage0 bug

This commit is contained in:
Niko Matsakis 2015-12-22 17:24:26 -05:00
parent 8b22ed8651
commit 11c671b59c

View file

@ -274,7 +274,7 @@ enum PassArgs {
}
impl<'d,'t,'a,'tcx> ExprUseVisitor<'d,'t,'a,'tcx> {
pub fn new(delegate: &'d mut (Delegate<'tcx>),
pub fn new(delegate: &'d mut (Delegate<'tcx>+'d),
typer: &'t infer::InferCtxt<'a, 'tcx>)
-> ExprUseVisitor<'d,'t,'a,'tcx> where 'tcx:'a+'d
{