diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-11-11 22:18:35 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-11-11 22:23:25 +0300 |
| commit | e7c42f0cf0b46ec4788f98c5bf30cda8a45cdd83 (patch) | |
| tree | 58c7230f991bdf442e75865b477bdcbfb9ce0b6b /src/libsyntax/tokenstream.rs | |
| parent | 56237d75b4271a8a2e0f47d86ea76ebf6d966152 (diff) | |
| download | rust-e7c42f0cf0b46ec4788f98c5bf30cda8a45cdd83.tar.gz rust-e7c42f0cf0b46ec4788f98c5bf30cda8a45cdd83.zip | |
Tiny cleanup to size assertions
Diffstat (limited to 'src/libsyntax/tokenstream.rs')
| -rw-r--r-- | src/libsyntax/tokenstream.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libsyntax/tokenstream.rs b/src/libsyntax/tokenstream.rs index 4d08d0974c1..2201f1ed6ca 100644 --- a/src/libsyntax/tokenstream.rs +++ b/src/libsyntax/tokenstream.rs @@ -16,8 +16,6 @@ use crate::token::{self, DelimToken, Token, TokenKind}; use syntax_pos::{Span, DUMMY_SP}; -#[cfg(target_arch = "x86_64")] -use rustc_data_structures::static_assert_size; use rustc_data_structures::sync::Lrc; use smallvec::{SmallVec, smallvec}; @@ -129,7 +127,7 @@ pub type TreeAndJoint = (TokenTree, IsJoint); // `TokenStream` is used a lot. Make sure it doesn't unintentionally get bigger. #[cfg(target_arch = "x86_64")] -static_assert_size!(TokenStream, 8); +rustc_data_structures::static_assert_size!(TokenStream, 8); #[derive(Clone, Copy, Debug, PartialEq, RustcEncodable, RustcDecodable)] pub enum IsJoint { |
