Keep ExpnId abstract by providing conversions
This commit is contained in:
parent
9d60de93e2
commit
8826fdfe37
7 changed files with 21 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue