fix EUV delegate to take advantage of defaults. This also

works around a stage0 bug that has since been fixed.
This commit is contained in:
Niko Matsakis 2015-09-01 11:31:09 -04:00
parent 9b45874445
commit 013c37a692

View file

@ -246,7 +246,7 @@ impl OverloadedCallType {
pub struct ExprUseVisitor<'d, 't, 'a: 't, 'tcx:'a+'d+'t> {
typer: &'t infer::InferCtxt<'a, 'tcx>,
mc: mc::MemCategorizationContext<'t, 'a, 'tcx>,
delegate: &'d mut (Delegate<'tcx>+'d),
delegate: &'d mut Delegate<'tcx>,
}
// If the TYPER results in an error, it's because the type check