Update tests

This commit is contained in:
topecongiro 2017-06-16 18:56:38 +09:00
parent b048fe6b35
commit 9b73490491
2 changed files with 5 additions and 14 deletions

View File

@ -128,11 +128,8 @@ fn issue470() {
{
{
{
let explicit_arg_decls =
explicit_arguments.into_iter().enumerate().map(|(
index,
(ty, pattern),
)| {
let explicit_arg_decls = explicit_arguments.into_iter().enumerate().map(
|(index, (ty, pattern))| {
let lvalue = Lvalue::Arg(index as u32);
block = this.pattern(
block,
@ -141,7 +138,8 @@ fn issue470() {
&lvalue,
);
ArgDecl { ty: ty }
});
},
);
}
}
}

View File

@ -79,14 +79,7 @@ fn main() {
),
Variantttttttttttttttttttttttt => (
"variant",
vec![
"id",
"name",
"qualname",
"type",
"value",
"scopeid",
],
vec!["id", "name", "qualname", "type", "value", "scopeid"],
true,
true,
),