@@ -101,7 +101,7 @@ pub fn get_region_reporting_err(
101
101
}
102
102
}
103
103
104
- pub fn ast_region_to_region < AC : AstConv , RS : region_scope + Copy + Durable > (
104
+ pub fn ast_region_to_region < AC : AstConv , RS : region_scope + Copy + ' static > (
105
105
self : & AC ,
106
106
rscope : & RS ,
107
107
default_span : span ,
@@ -126,7 +126,7 @@ pub fn ast_region_to_region<AC:AstConv,RS:region_scope + Copy + Durable>(
126
126
get_region_reporting_err ( self . tcx ( ) , span, opt_lifetime, res)
127
127
}
128
128
129
- fn ast_path_substs < AC : AstConv , RS : region_scope + Copy + Durable > (
129
+ fn ast_path_substs < AC : AstConv , RS : region_scope + Copy + ' static > (
130
130
self : & AC ,
131
131
rscope : & RS ,
132
132
def_id : ast:: def_id ,
@@ -180,7 +180,7 @@ fn ast_path_substs<AC:AstConv,RS:region_scope + Copy + Durable>(
180
180
substs { self_r : self_r, self_ty : self_ty, tps : tps}
181
181
}
182
182
183
- pub fn ast_path_to_substs_and_ty < AC : AstConv , RS : region_scope + Copy + Durable > (
183
+ pub fn ast_path_to_substs_and_ty < AC : AstConv , RS : region_scope + Copy + ' static > (
184
184
self : & AC ,
185
185
rscope : & RS ,
186
186
did : ast:: def_id ,
@@ -197,7 +197,7 @@ pub fn ast_path_to_substs_and_ty<AC:AstConv,RS:region_scope + Copy + Durable>(
197
197
ty_param_substs_and_ty { substs : substs, ty : ty }
198
198
}
199
199
200
- pub fn ast_path_to_trait_ref < AC : AstConv , RS : region_scope + Copy + Durable > (
200
+ pub fn ast_path_to_trait_ref < AC : AstConv , RS : region_scope + Copy + ' static > (
201
201
self : & AC ,
202
202
rscope : & RS ,
203
203
trait_def_id : ast:: def_id ,
@@ -221,7 +221,7 @@ pub fn ast_path_to_trait_ref<AC:AstConv,RS:region_scope + Copy + Durable>(
221
221
}
222
222
223
223
224
- pub fn ast_path_to_ty < AC : AstConv , RS : region_scope + Copy + Durable > (
224
+ pub fn ast_path_to_ty < AC : AstConv , RS : region_scope + Copy + ' static > (
225
225
self : & AC ,
226
226
rscope : & RS ,
227
227
did : ast:: def_id ,
@@ -243,10 +243,10 @@ pub static NO_TPS: uint = 2;
243
243
// Parses the programmer's textual representation of a type into our
244
244
// internal notion of a type. `getter` is a function that returns the type
245
245
// corresponding to a definition ID:
246
- pub fn ast_ty_to_ty < AC : AstConv , RS : region_scope + Copy + Durable > (
246
+ pub fn ast_ty_to_ty < AC : AstConv , RS : region_scope + Copy + ' static > (
247
247
self : & AC , rscope : & RS , ast_ty : @ast:: Ty ) -> ty:: t {
248
248
249
- fn ast_mt_to_mt < AC : AstConv , RS : region_scope + Copy + Durable > (
249
+ fn ast_mt_to_mt < AC : AstConv , RS : region_scope + Copy + ' static > (
250
250
self : & AC , rscope : & RS , mt : & ast:: mt ) -> ty:: mt {
251
251
252
252
ty:: mt { ty : ast_ty_to_ty ( self , rscope, mt. ty ) , mutbl : mt. mutbl }
@@ -255,7 +255,7 @@ pub fn ast_ty_to_ty<AC:AstConv, RS:region_scope + Copy + Durable>(
255
255
// Handle @, ~, and & being able to mean estrs and evecs.
256
256
// If a_seq_ty is a str or a vec, make it an estr/evec.
257
257
// Also handle first-class trait types.
258
- fn mk_pointer < AC : AstConv , RS : region_scope + Copy + Durable > (
258
+ fn mk_pointer < AC : AstConv , RS : region_scope + Copy + ' static > (
259
259
self : & AC ,
260
260
rscope : & RS ,
261
261
a_seq_ty : & ast:: mt ,
@@ -497,7 +497,7 @@ pub fn ast_ty_to_ty<AC:AstConv, RS:region_scope + Copy + Durable>(
497
497
}
498
498
499
499
pub fn ty_of_arg < AC : AstConv ,
500
- RS : region_scope + Copy + Durable > (
500
+ RS : region_scope + Copy + ' static > (
501
501
self : & AC ,
502
502
rscope : & RS ,
503
503
a : ast:: arg ,
@@ -549,7 +549,7 @@ struct SelfInfo {
549
549
self_transform : ast:: self_ty
550
550
}
551
551
552
- pub fn ty_of_method < AC : AstConv , RS : region_scope + Copy + Durable > (
552
+ pub fn ty_of_method < AC : AstConv , RS : region_scope + Copy + ' static > (
553
553
self : & AC ,
554
554
rscope : & RS ,
555
555
purity : ast:: purity ,
@@ -567,7 +567,7 @@ pub fn ty_of_method<AC:AstConv,RS:region_scope + Copy + Durable>(
567
567
( a. get ( ) , b)
568
568
}
569
569
570
- pub fn ty_of_bare_fn < AC : AstConv , RS : region_scope + Copy + Durable > (
570
+ pub fn ty_of_bare_fn < AC : AstConv , RS : region_scope + Copy + ' static > (
571
571
self : & AC ,
572
572
rscope : & RS ,
573
573
purity : ast:: purity ,
@@ -580,7 +580,7 @@ pub fn ty_of_bare_fn<AC:AstConv,RS:region_scope + Copy + Durable>(
580
580
b
581
581
}
582
582
583
- fn ty_of_method_or_bare_fn < AC : AstConv , RS : region_scope + Copy + Durable > (
583
+ fn ty_of_method_or_bare_fn < AC : AstConv , RS : region_scope + Copy + ' static > (
584
584
self : & AC ,
585
585
rscope : & RS ,
586
586
purity : ast:: purity ,
@@ -616,7 +616,7 @@ fn ty_of_method_or_bare_fn<AC:AstConv,RS:region_scope + Copy + Durable>(
616
616
output : output_ty}
617
617
} ) ;
618
618
619
- fn transform_self_ty < AC : AstConv , RS : region_scope + Copy + Durable > (
619
+ fn transform_self_ty < AC : AstConv , RS : region_scope + Copy + ' static > (
620
620
self : & AC ,
621
621
rscope : & RS ,
622
622
self_info : & SelfInfo ) -> Option < ty:: t >
@@ -649,7 +649,7 @@ fn ty_of_method_or_bare_fn<AC:AstConv,RS:region_scope + Copy + Durable>(
649
649
}
650
650
}
651
651
652
- pub fn ty_of_closure < AC : AstConv , RS : region_scope + Copy + Durable > (
652
+ pub fn ty_of_closure < AC : AstConv , RS : region_scope + Copy + ' static > (
653
653
self : & AC ,
654
654
rscope : & RS ,
655
655
sigil : ast:: Sigil ,
0 commit comments