Field identifiers now include specific spans (Closes #8263).

This commit is contained in:
Joshua Yanovski
2013-10-28 19:22:42 -07:00
parent dba6070080
commit 01ab8542fb
10 changed files with 22 additions and 18 deletions

View File

@@ -471,11 +471,13 @@ pub struct Arm {
#[deriving(Clone, Eq, Encodable, Decodable, IterBytes)]
pub struct Field {
ident: Ident,
ident: SpannedIdent,
expr: @Expr,
span: Span,
}
pub type SpannedIdent = Spanned<Ident>;
#[deriving(Clone, Eq, Encodable, Decodable, IterBytes)]
pub enum BlockCheckMode {
DefaultBlock,