Keep ExpnId abstract by providing conversions

This commit is contained in:
Keegan McAllister 2014-09-28 09:25:48 -07:00
parent 9d60de93e2
commit 8826fdfe37
7 changed files with 21 additions and 8 deletions

View file

@ -10,7 +10,7 @@
// The Rust abstract syntax tree.
use codemap::{Span, Spanned, DUMMY_SP};
use codemap::{Span, Spanned, DUMMY_SP, ExpnId};
use abi::Abi;
use ast_util;
use owned_slice::OwnedSlice;
@ -984,7 +984,7 @@ pub struct InlineAsm {
pub volatile: bool,
pub alignstack: bool,
pub dialect: AsmDialect,
pub expn_id: u32,
pub expn_id: ExpnId,
}
/// represents an argument in a function header