about summary refs log tree commit diff
path: root/src/libsyntax/parse/classify.rs
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@gmail>2013-07-16 20:08:35 +0200
committerMichael Woerister <michaelwoerister@gmail>2013-07-17 08:21:46 +0200
commit0cc70743d2cf6edb782c1daa9b0f554484ed21eb (patch)
tree578d226937e919d49b30825b4a6b3dcaa44cee0f /src/libsyntax/parse/classify.rs
parent4bd716ac8eb60dbaced9e3d2bafee89b713a7849 (diff)
downloadrust-0cc70743d2cf6edb782c1daa9b0f554484ed21eb.tar.gz
rust-0cc70743d2cf6edb782c1daa9b0f554484ed21eb.zip
Made ast::blk not use spanned<T> anymore.
Diffstat (limited to 'src/libsyntax/parse/classify.rs')
-rw-r--r--src/libsyntax/parse/classify.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libsyntax/parse/classify.rs b/src/libsyntax/parse/classify.rs
index 62b36b12f26..44497f72003 100644
--- a/src/libsyntax/parse/classify.rs
+++ b/src/libsyntax/parse/classify.rs
@@ -13,7 +13,6 @@
  */
 
 use ast;
-use codemap;
 
 // does this expression require a semicolon to be treated
 // as a statement? The negation of this: 'can this expression
@@ -40,8 +39,7 @@ pub fn expr_requires_semi_to_be_stmt(e: @ast::expr) -> bool {
 pub fn expr_is_simple_block(e: @ast::expr) -> bool {
     match e.node {
         ast::expr_block(
-            codemap::spanned {
-                node: ast::blk_ { rules: ast::default_blk, _ }, _ }
+            ast::blk { rules: ast::default_blk, _ }
         ) => true,
       _ => false
     }