mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
Update tests
This commit is contained in:
parent
b048fe6b35
commit
9b73490491
@ -128,11 +128,8 @@ fn issue470() {
|
|||||||
{
|
{
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
let explicit_arg_decls =
|
let explicit_arg_decls = explicit_arguments.into_iter().enumerate().map(
|
||||||
explicit_arguments.into_iter().enumerate().map(|(
|
|(index, (ty, pattern))| {
|
||||||
index,
|
|
||||||
(ty, pattern),
|
|
||||||
)| {
|
|
||||||
let lvalue = Lvalue::Arg(index as u32);
|
let lvalue = Lvalue::Arg(index as u32);
|
||||||
block = this.pattern(
|
block = this.pattern(
|
||||||
block,
|
block,
|
||||||
@ -141,7 +138,8 @@ fn issue470() {
|
|||||||
&lvalue,
|
&lvalue,
|
||||||
);
|
);
|
||||||
ArgDecl { ty: ty }
|
ArgDecl { ty: ty }
|
||||||
});
|
},
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -79,14 +79,7 @@ fn main() {
|
|||||||
),
|
),
|
||||||
Variantttttttttttttttttttttttt => (
|
Variantttttttttttttttttttttttt => (
|
||||||
"variant",
|
"variant",
|
||||||
vec![
|
vec!["id", "name", "qualname", "type", "value", "scopeid"],
|
||||||
"id",
|
|
||||||
"name",
|
|
||||||
"qualname",
|
|
||||||
"type",
|
|
||||||
"value",
|
|
||||||
"scopeid",
|
|
||||||
],
|
|
||||||
true,
|
true,
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user