summary refs log tree commit diff
path: root/src/libsyntax/codemap.rs
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2014-09-27 01:33:36 -0700
committerKeegan McAllister <kmcallister@mozilla.com>2014-09-27 11:10:37 -0700
commit9d60de93e2c5af1b69201b5e3bcf8943ae5df664 (patch)
treeb9e70d905c974cb3d6260867089ef1a13fd26df7 /src/libsyntax/codemap.rs
parent34dfa45718d9d40361dadf0abf9c3dc5cc0b0381 (diff)
downloadrust-9d60de93e2c5af1b69201b5e3bcf8943ae5df664.tar.gz
rust-9d60de93e2c5af1b69201b5e3bcf8943ae5df664.zip
Translate inline assembly errors back to source locations
Fixes #17552.
Diffstat (limited to 'src/libsyntax/codemap.rs')
-rw-r--r--src/libsyntax/codemap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/codemap.rs b/src/libsyntax/codemap.rs
index 9072889463c..d44de7862a3 100644
--- a/src/libsyntax/codemap.rs
+++ b/src/libsyntax/codemap.rs
@@ -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);