From 2bd4d5b1a0b05827401970f0cfbe17e6b6f32d0d Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Tue, 13 Nov 2018 06:34:11 +1100 Subject: Move two `static_assert!`s to better spots. And make them x86_64-only so they can use `==` instead of `<=`. --- src/libsyntax/ast.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libsyntax') diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index fa6fe347833..808e19d6f12 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -20,6 +20,7 @@ use print::pprust; use ptr::P; use rustc_data_structures::indexed_vec; use rustc_data_structures::indexed_vec::Idx; +#[cfg(target_arch = "x86_64")] use rustc_data_structures::static_assert; use rustc_target::spec::abi::Abi; use source_map::{dummy_spanned, respan, Spanned}; -- cgit 1.4.1-3-g733a5