Field identifiers now include specific spans (Closes #8263).
This commit is contained in:
parent
dba6070080
commit
01ab8542fb
10 changed files with 22 additions and 18 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue