about summary refs log tree commit diff
path: root/src/libsyntax/ext/format.rs
diff options
context:
space:
mode:
authorJakub Wieczorek <jakub@jakub.cc>2014-09-20 15:37:14 +0200
committerJakub Wieczorek <jakub@jakub.cc>2014-09-24 21:03:55 +0200
commit5bcc154dffb0aa58eef270f9e7396ec440101ca5 (patch)
tree8f16daae1582095b2e9209d0bb61d8eb30c76a04 /src/libsyntax/ext/format.rs
parent3530e4a6471b6948c719f709bc10923c3f5524a5 (diff)
downloadrust-5bcc154dffb0aa58eef270f9e7396ec440101ca5.tar.gz
rust-5bcc154dffb0aa58eef270f9e7396ec440101ca5.zip
Remove unused enum variants
Diffstat (limited to 'src/libsyntax/ext/format.rs')
-rw-r--r--src/libsyntax/ext/format.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/libsyntax/ext/format.rs b/src/libsyntax/ext/format.rs
index b760c893a10..1ed41e6870d 100644
--- a/src/libsyntax/ext/format.rs
+++ b/src/libsyntax/ext/format.rs
@@ -24,8 +24,7 @@ use std::string;
 #[deriving(PartialEq)]
 enum ArgumentType {
     Known(string::String),
-    Unsigned,
-    String,
+    Unsigned
 }
 
 enum Position {
@@ -691,12 +690,6 @@ impl<'a, 'b> Context<'a, 'b> {
                     }
                 }
             }
-            String => {
-                return ecx.expr_call_global(sp, vec![
-                        ecx.ident_of("std"),
-                        ecx.ident_of("fmt"),
-                        ecx.ident_of("argumentstr")], vec![arg])
-            }
             Unsigned => {
                 return ecx.expr_call_global(sp, vec![
                         ecx.ident_of("std"),