Field identifiers now include specific spans (Closes #8263).
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user