Translate inline assembly errors back to source locations

Fixes #17552.
This commit is contained in:
Keegan McAllister
2014-09-27 01:33:36 -07:00
parent 34dfa45718
commit 9d60de93e2
12 changed files with 133 additions and 12 deletions

View File

@@ -224,7 +224,7 @@ pub struct ExpnInfo {
}
#[deriving(PartialEq, Eq, Clone, Show, Hash)]
pub struct ExpnId(u32);
pub struct ExpnId(pub u32);
pub static NO_EXPANSION: ExpnId = ExpnId(-1);