about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <arielb1@mail.tau.ac.il>2015-09-30 00:51:12 +0300
committerAriel Ben-Yehuda <arielb1@mail.tau.ac.il>2015-09-30 00:51:12 +0300
commitf2d5ebeae94c78799b4e4d2f8fd5c526df87e949 (patch)
tree38911e325f6a07e0de3cbcd0f5ff1d52afb4a32a /src
parent9699adc508a90834de1c1c432b10f774b8ffcf4f (diff)
downloadrust-f2d5ebeae94c78799b4e4d2f8fd5c526df87e949.tar.gz
rust-f2d5ebeae94c78799b4e4d2f8fd5c526df87e949.zip
sacrifice a few bytes for the euv demon
Diffstat (limited to 'src')
-rw-r--r--src/librustc/middle/expr_use_visitor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/middle/expr_use_visitor.rs b/src/librustc/middle/expr_use_visitor.rs
index 9a5b21be728..13e8fddf779 100644
--- a/src/librustc/middle/expr_use_visitor.rs
+++ b/src/librustc/middle/expr_use_visitor.rs
@@ -244,7 +244,7 @@ impl OverloadedCallType {
 // can just use the tcx as the typer.
 //
 // FIXME(stage0): the :'t here is probably only important for stage0
-pub struct ExprUseVisitor<'d, 't, 'a: 't, 'tcx:'a+'d+'t> {
+pub struct ExprUseVisitor<'d, 't, 'a: 't, 'tcx:'a+'d> {
     typer: &'t infer::InferCtxt<'a, 'tcx>,
     mc: mc::MemCategorizationContext<'t, 'a, 'tcx>,
     delegate: &'d mut Delegate<'tcx>,
@@ -278,7 +278,7 @@ enum PassArgs {
 impl<'d,'t,'a,'tcx> ExprUseVisitor<'d,'t,'a,'tcx> {
     pub fn new(delegate: &'d mut Delegate<'tcx>,
                typer: &'t infer::InferCtxt<'a, 'tcx>)
-               -> ExprUseVisitor<'d,'t,'a,'tcx>
+               -> ExprUseVisitor<'d,'t,'a,'tcx> where 'tcx:'a
     {
         ExprUseVisitor {
             typer: typer,