Reorder hir::Expr fields.

On 64-bit platforms this reduces the size of `Expr` from 96 bytes to 88
bytes.
This commit is contained in:
Nicholas Nethercote 2016-11-03 14:58:32 +11:00
parent 4497196ba5
commit 9366ba3166

View File

@ -840,8 +840,8 @@ pub enum UnsafeSource {
#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash)]
pub struct Expr {
pub id: NodeId,
pub node: Expr_,
pub span: Span,
pub node: Expr_,
pub attrs: ThinVec<Attribute>,
}