This commit is contained in:
nora 2022-04-09 11:57:40 +02:00
parent 535e95069d
commit 7087c9be0f
5 changed files with 155 additions and 11 deletions

View file

@ -0,0 +1,39 @@
---
source: parser/src/parser.rs
assertion_line: 336
expression: r
---
(
Some(
File {
name: "parser__parser__tests",
items: [
FnDecl(
FnDecl {
name: "foo",
params: [],
ret_ty: Some(
Ty {
span: 12..15,
kind: U64,
},
),
span: 0..2,
body: [
WhileStmt(
WhileStmt {
cond: Name(
"false",
),
body: [],
span: 18..32,
},
),
],
},
),
],
},
),
[],
)