mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
Update tests
This commit is contained in:
parent
b048fe6b35
commit
9b73490491
@ -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 }
|
||||
});
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -79,14 +79,7 @@ fn main() {
|
||||
),
|
||||
Variantttttttttttttttttttttttt => (
|
||||
"variant",
|
||||
vec![
|
||||
"id",
|
||||
"name",
|
||||
"qualname",
|
||||
"type",
|
||||
"value",
|
||||
"scopeid",
|
||||
],
|
||||
vec!["id", "name", "qualname", "type", "value", "scopeid"],
|
||||
true,
|
||||
true,
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user