-
-
Save durka/9176d1a246ff7dc0f753 to your computer and use it in GitHub Desktop.
thread 'lowering::test::test_preserves_ids' panicked at 'assertion failed: hir1 == hir2', src/librustc_front/lowering.rs:2026
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Expr { | |
id: 65, | |
node: ExprBlock( | |
Block { | |
stmts: [ | |
Spanned { | |
node: StmtDecl( | |
Spanned { | |
node: DeclLocal( | |
Local { | |
pat: Pat { | |
id: 60, | |
node: PatIdent( | |
BindByValue( | |
MutImmutable | |
), | |
Spanned { | |
node: Ident { | |
name: _result(81), | |
unhygienic_name: _result(81) | |
}, | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
}, | |
None | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
}, | |
ty: None, | |
init: Some( | |
Expr { | |
id: 59, | |
node: ExprMatch( | |
Expr { | |
id: 58, | |
node: ExprCall( | |
Expr { | |
id: 57, | |
node: ExprPath( | |
None, | |
Path { | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
global: true, | |
segments: [ | |
PathSegment { | |
identifier: Ident { | |
name: iter(76), | |
unhygienic_name: iter(76) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
}, | |
PathSegment { | |
identifier: Ident { | |
name: IntoIterator(79), | |
unhygienic_name: IntoIterator(79) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
}, | |
PathSegment { | |
identifier: Ident { | |
name: into_iter(80), | |
unhygienic_name: into_iter(80) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
} | |
] | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
}, | |
[ | |
Expr { | |
id: 44, | |
node: ExprStruct( | |
Path { | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
global: true, | |
segments: [ | |
PathSegment { | |
identifier: Ident { | |
name: ops(68), | |
unhygienic_name: ops(68) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
}, | |
PathSegment { | |
identifier: Ident { | |
name: Range(69), | |
unhygienic_name: Range(69) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
} | |
] | |
}, | |
[ | |
Field { | |
name: Spanned { | |
node: start(70), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
}, | |
expr: Expr { | |
id: 21, | |
node: ExprLit( | |
Spanned { | |
node: LitInt( | |
0, | |
UnsuffixedIntLit( | |
Plus | |
) | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
}, | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
}, | |
Field { | |
name: Spanned { | |
node: end(71), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
}, | |
expr: Expr { | |
id: 22, | |
node: ExprLit( | |
Spanned { | |
node: LitInt( | |
10, | |
UnsuffixedIntLit( | |
Plus | |
) | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
}, | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
], | |
None | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
] | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
}, | |
[ | |
Arm { | |
attrs: [], | |
pats: [ | |
Pat { | |
id: 56, | |
node: PatIdent( | |
BindByValue( | |
MutMutable | |
), | |
Spanned { | |
node: Ident { | |
name: iter(72), | |
unhygienic_name: iter(72) | |
}, | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
}, | |
None | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
], | |
guard: None, | |
body: Expr { | |
id: 55, | |
node: ExprLoop( | |
Block { | |
stmts: [], | |
expr: Some( | |
Expr { | |
id: 53, | |
node: ExprMatch( | |
Expr { | |
id: 52, | |
node: ExprCall( | |
Expr { | |
id: 51, | |
node: ExprPath( | |
None, | |
Path { | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
global: true, | |
segments: [ | |
PathSegment { | |
identifier: Ident { | |
name: iter(76), | |
unhygienic_name: iter(76) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
}, | |
PathSegment { | |
identifier: Ident { | |
name: Iterator(77), | |
unhygienic_name: Iterator(77) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
}, | |
PathSegment { | |
identifier: Ident { | |
name: next(78), | |
unhygienic_name: next(78) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
} | |
] | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
}, | |
[ | |
Expr { | |
id: 50, | |
node: ExprAddrOf( | |
MutMutable, | |
Expr { | |
id: 49, | |
node: ExprPath( | |
None, | |
Path { | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
global: false, | |
segments: [ | |
PathSegment { | |
identifier: Ident { | |
name: iter(72), | |
unhygienic_name: iter(72) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
} | |
] | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
] | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
}, | |
[ | |
Arm { | |
attrs: [], | |
pats: [ | |
Pat { | |
id: 46, | |
node: PatEnum( | |
Path { | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
global: true, | |
segments: [ | |
PathSegment { | |
identifier: Ident { | |
name: option(73), | |
unhygienic_name: option(73) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
}, | |
PathSegment { | |
identifier: Ident { | |
name: Option(74), | |
unhygienic_name: Option(74) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
}, | |
PathSegment { | |
identifier: Ident { | |
name: Some(60), | |
unhygienic_name: Some(60) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
} | |
] | |
}, | |
Some( | |
[ | |
Pat { | |
id: 19, | |
node: PatIdent( | |
BindByValue( | |
MutImmutable | |
), | |
Spanned { | |
node: Ident { | |
name: i(64), | |
unhygienic_name: i(64) | |
}, | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
}, | |
None | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
] | |
) | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
], | |
guard: None, | |
body: Expr { | |
id: 45, | |
node: ExprBlock( | |
Block { | |
stmts: [ | |
Spanned { | |
node: StmtSemi( | |
Expr { | |
id: 25, | |
node: ExprCall( | |
Expr { | |
id: 26, | |
node: ExprPath( | |
None, | |
Path { | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
global: false, | |
segments: [ | |
PathSegment { | |
identifier: Ident { | |
name: foo(61), | |
unhygienic_name: foo(61) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
} | |
] | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
}, | |
[ | |
Expr { | |
id: 27, | |
node: ExprPath( | |
None, | |
Path { | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
global: false, | |
segments: [ | |
PathSegment { | |
identifier: Ident { | |
name: i(64), | |
unhygienic_name: i(64) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
} | |
] | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
] | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
}, | |
24 | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
], | |
expr: None, | |
id: 23, | |
rules: DefaultBlock, | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
}, | |
Arm { | |
attrs: [], | |
pats: [ | |
Pat { | |
id: 48, | |
node: PatEnum( | |
Path { | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
global: true, | |
segments: [ | |
PathSegment { | |
identifier: Ident { | |
name: option(73), | |
unhygienic_name: option(73) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
}, | |
PathSegment { | |
identifier: Ident { | |
name: Option(74), | |
unhygienic_name: Option(74) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
}, | |
PathSegment { | |
identifier: Ident { | |
name: None(75), | |
unhygienic_name: None(75) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
} | |
] | |
}, | |
Some( | |
[] | |
) | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
], | |
guard: None, | |
body: Expr { | |
id: 47, | |
node: ExprBreak( | |
None | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
} | |
], | |
ForLoopDesugar | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
), | |
id: 54, | |
rules: DefaultBlock, | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
}, | |
None | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
} | |
], | |
ForLoopDesugar | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
), | |
id: 61, | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
}, | |
62 | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
], | |
expr: Some( | |
Expr { | |
id: 63, | |
node: ExprPath( | |
None, | |
Path { | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
global: false, | |
segments: [ | |
PathSegment { | |
identifier: Ident { | |
name: _result(81), | |
unhygienic_name: _result(81) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
} | |
] | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
), | |
id: 64, | |
rules: DefaultBlock, | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
[00m[37m} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Expr { | |
id: 65, | |
node: ExprBlock( | |
Block { | |
stmts: [ | |
Spanned { | |
node: StmtDecl( | |
Spanned { | |
node: DeclLocal( | |
Local { | |
pat: Pat { | |
id: 60, | |
node: PatIdent( | |
BindByValue( | |
MutImmutable | |
), | |
Spanned { | |
node: Ident { | |
name: _result(83), | |
unhygienic_name: _result(83) | |
}, | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
}, | |
None | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
}, | |
ty: None, | |
init: Some( | |
Expr { | |
id: 59, | |
node: ExprMatch( | |
Expr { | |
id: 58, | |
node: ExprCall( | |
Expr { | |
id: 57, | |
node: ExprPath( | |
None, | |
Path { | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
global: true, | |
segments: [ | |
PathSegment { | |
identifier: Ident { | |
name: iter(76), | |
unhygienic_name: iter(76) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
}, | |
PathSegment { | |
identifier: Ident { | |
name: IntoIterator(79), | |
unhygienic_name: IntoIterator(79) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
}, | |
PathSegment { | |
identifier: Ident { | |
name: into_iter(80), | |
unhygienic_name: into_iter(80) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
} | |
] | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
}, | |
[ | |
Expr { | |
id: 44, | |
node: ExprStruct( | |
Path { | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
global: true, | |
segments: [ | |
PathSegment { | |
identifier: Ident { | |
name: ops(68), | |
unhygienic_name: ops(68) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
}, | |
PathSegment { | |
identifier: Ident { | |
name: Range(69), | |
unhygienic_name: Range(69) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
} | |
] | |
}, | |
[ | |
Field { | |
name: Spanned { | |
node: start(70), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
}, | |
expr: Expr { | |
id: 21, | |
node: ExprLit( | |
Spanned { | |
node: LitInt( | |
0, | |
UnsuffixedIntLit( | |
Plus | |
) | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
}, | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
}, | |
Field { | |
name: Spanned { | |
node: end(71), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
}, | |
expr: Expr { | |
id: 22, | |
node: ExprLit( | |
Spanned { | |
node: LitInt( | |
10, | |
UnsuffixedIntLit( | |
Plus | |
) | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
}, | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
], | |
None | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
] | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
}, | |
[ | |
Arm { | |
attrs: [], | |
pats: [ | |
Pat { | |
id: 56, | |
node: PatIdent( | |
BindByValue( | |
MutMutable | |
), | |
Spanned { | |
node: Ident { | |
name: iter(82), | |
unhygienic_name: iter(82) | |
}, | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
}, | |
None | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
], | |
guard: None, | |
body: Expr { | |
id: 55, | |
node: ExprLoop( | |
Block { | |
stmts: [], | |
expr: Some( | |
Expr { | |
id: 53, | |
node: ExprMatch( | |
Expr { | |
id: 52, | |
node: ExprCall( | |
Expr { | |
id: 51, | |
node: ExprPath( | |
None, | |
Path { | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
global: true, | |
segments: [ | |
PathSegment { | |
identifier: Ident { | |
name: iter(76), | |
unhygienic_name: iter(76) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
}, | |
PathSegment { | |
identifier: Ident { | |
name: Iterator(77), | |
unhygienic_name: Iterator(77) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
}, | |
PathSegment { | |
identifier: Ident { | |
name: next(78), | |
unhygienic_name: next(78) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
} | |
] | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
}, | |
[ | |
Expr { | |
id: 50, | |
node: ExprAddrOf( | |
MutMutable, | |
Expr { | |
id: 49, | |
node: ExprPath( | |
None, | |
Path { | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
global: false, | |
segments: [ | |
PathSegment { | |
identifier: Ident { | |
name: iter(82), | |
unhygienic_name: iter(82) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
} | |
] | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
] | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
}, | |
[ | |
Arm { | |
attrs: [], | |
pats: [ | |
Pat { | |
id: 46, | |
node: PatEnum( | |
Path { | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
global: true, | |
segments: [ | |
PathSegment { | |
identifier: Ident { | |
name: option(73), | |
unhygienic_name: option(73) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
}, | |
PathSegment { | |
identifier: Ident { | |
name: Option(74), | |
unhygienic_name: Option(74) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
}, | |
PathSegment { | |
identifier: Ident { | |
name: Some(60), | |
unhygienic_name: Some(60) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
} | |
] | |
}, | |
Some( | |
[ | |
Pat { | |
id: 19, | |
node: PatIdent( | |
BindByValue( | |
MutImmutable | |
), | |
Spanned { | |
node: Ident { | |
name: i(64), | |
unhygienic_name: i(64) | |
}, | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
}, | |
None | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
] | |
) | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
], | |
guard: None, | |
body: Expr { | |
id: 45, | |
node: ExprBlock( | |
Block { | |
stmts: [ | |
Spanned { | |
node: StmtSemi( | |
Expr { | |
id: 25, | |
node: ExprCall( | |
Expr { | |
id: 26, | |
node: ExprPath( | |
None, | |
Path { | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
global: false, | |
segments: [ | |
PathSegment { | |
identifier: Ident { | |
name: foo(61), | |
unhygienic_name: foo(61) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
} | |
] | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
}, | |
[ | |
Expr { | |
id: 27, | |
node: ExprPath( | |
None, | |
Path { | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
global: false, | |
segments: [ | |
PathSegment { | |
identifier: Ident { | |
name: i(64), | |
unhygienic_name: i(64) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
} | |
] | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
] | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
}, | |
24 | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
], | |
expr: None, | |
id: 23, | |
rules: DefaultBlock, | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
}, | |
Arm { | |
attrs: [], | |
pats: [ | |
Pat { | |
id: 48, | |
node: PatEnum( | |
Path { | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
global: true, | |
segments: [ | |
PathSegment { | |
identifier: Ident { | |
name: option(73), | |
unhygienic_name: option(73) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
}, | |
PathSegment { | |
identifier: Ident { | |
name: Option(74), | |
unhygienic_name: Option(74) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
}, | |
PathSegment { | |
identifier: Ident { | |
name: None(75), | |
unhygienic_name: None(75) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
} | |
] | |
}, | |
Some( | |
[] | |
) | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
], | |
guard: None, | |
body: Expr { | |
id: 47, | |
node: ExprBreak( | |
None | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
} | |
], | |
ForLoopDesugar | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
), | |
id: 54, | |
rules: DefaultBlock, | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
}, | |
None | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
} | |
], | |
ForLoopDesugar | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
), | |
id: 61, | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
}, | |
62 | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
], | |
expr: Some( | |
Expr { | |
id: 63, | |
node: ExprPath( | |
None, | |
Path { | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
global: false, | |
segments: [ | |
PathSegment { | |
identifier: Ident { | |
name: _result(83), | |
unhygienic_name: _result(83) | |
}, | |
parameters: AngleBracketedParameters( | |
AngleBracketedParameterData { | |
lifetimes: [], | |
types: [], | |
bindings: [] | |
} | |
) | |
} | |
] | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
} | |
), | |
id: 64, | |
rules: DefaultBlock, | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) } | |
} | |
), | |
span: Span { lo: BytePos(0), hi: BytePos(0), expn_id: ExpnId(4294967295) }, | |
attrs: None | |
[00m[37m} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment