X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibsyntax%2Fast.rs;h=13bf6752ba2bc6baeb8fb7c1dd3ce81557f4e2be;hb=e7c42f0cf0b46ec4788f98c5bf30cda8a45cdd83;hp=c83931a0668cfa63bc6670391b762f00d013a831;hpb=56237d75b4271a8a2e0f47d86ea76ebf6d966152;p=rust.git diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index c83931a0668..13bf6752ba2 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -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;