]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/ast.rs
Tiny cleanup to size assertions
[rust.git] / src / libsyntax / ast.rs
index c83931a0668cfa63bc6670391b762f00d013a831..13bf6752ba2bc6baeb8fb7c1dd3ce81557f4e2be 100644 (file)
@@ -38,9 +38,6 @@
 use rustc_index::vec::Idx;
 use rustc_serialize::{self, Decoder, Encoder};
 
-#[cfg(target_arch = "x86_64")]
-use rustc_data_structures::static_assert_size;
-
 use std::fmt;
 
 #[cfg(test)]
@@ -1028,7 +1025,7 @@ pub struct Expr {
 
 // `Expr` is used a lot. Make sure it doesn't unintentionally get bigger.
 #[cfg(target_arch = "x86_64")]
-static_assert_size!(Expr, 96);
+rustc_data_structures::static_assert_size!(Expr, 96);
 
 impl Expr {
     /// Returns `true` if this expression would be valid somewhere that expects a value;