about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-09-01 11:31:09 -0400
committerNiko Matsakis <niko@alum.mit.edu>2015-09-06 07:27:23 -0400
commit013c37a69247014702e7c3221dd4e890314d0a58 (patch)
tree7d6d742a1971643a4114350dea7c686835ee88b5
parent9b45874445111b5f79d2888fa37086d1db7e4870 (diff)
downloadrust-013c37a69247014702e7c3221dd4e890314d0a58.tar.gz
rust-013c37a69247014702e7c3221dd4e890314d0a58.zip
fix EUV delegate to take advantage of defaults. This also
works around a stage0 bug that has since been fixed.
-rw-r--r--src/librustc/middle/expr_use_visitor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/middle/expr_use_visitor.rs b/src/librustc/middle/expr_use_visitor.rs
index 15f37d434d2..d2bb31f10bd 100644
--- a/src/librustc/middle/expr_use_visitor.rs
+++ b/src/librustc/middle/expr_use_visitor.rs
@@ -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