diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2015-01-10 10:31:56 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2015-01-10 11:31:53 +1100 |
| commit | 719c5d7bdeef7a33640e91af2305b2c913b83627 (patch) | |
| tree | 269ae357467a06de865426460ceddacad1ff5264 /src/libsyntax/ext | |
| parent | 20bce44810eb5146f609b4362990ef8835e55bb5 (diff) | |
| download | rust-719c5d7bdeef7a33640e91af2305b2c913b83627.tar.gz rust-719c5d7bdeef7a33640e91af2305b2c913b83627.zip | |
core: rm unused lifetime.
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/format.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/libsyntax/ext/format.rs b/src/libsyntax/ext/format.rs index 637b6d4649d..f512b33f024 100644 --- a/src/libsyntax/ext/format.rs +++ b/src/libsyntax/ext/format.rs @@ -579,13 +579,9 @@ impl<'a, 'b> Context<'a, 'b> { } else { // Build up the static array which will store our precompiled // nonstandard placeholders, if there are any. - let piece_ty = self.ecx.ty_path(self.ecx.path_all( + let piece_ty = self.ecx.ty_path(self.ecx.path_global( self.fmtsp, - true, Context::rtpath(self.ecx, "Argument"), - vec![static_lifetime], - vec![], - vec![] - )); + Context::rtpath(self.ecx, "Argument"))); let fmt = Context::static_array(self.ecx, "__STATIC_FMTARGS", piece_ty, |
