8051: Fix more unused wariable warnings r=lnicola a=lnicola

bors r+

changelog skip

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
This commit is contained in:
bors[bot] 2021-03-16 13:35:26 +00:00 committed by GitHub
commit da5328a01b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -313,7 +313,7 @@ fn fill(
(ty, name)
},
ast::ArgList(it) => {
ast::ArgList(_it) => {
cov_mark::hit!(expected_type_fn_param_with_leading_char);
cov_mark::hit!(expected_type_fn_param_without_leading_char);
ActiveParameter::at_token(
@ -322,7 +322,7 @@ fn fill(
).map(|ap| (Some(ap.ty), Some(ap.name)))
.unwrap_or((None, None))
},
ast::RecordExprFieldList(it) => {
ast::RecordExprFieldList(_it) => {
cov_mark::hit!(expected_type_struct_field_without_leading_char);
self.token.prev_sibling_or_token()
.and_then(|se| se.into_node())
@ -358,7 +358,7 @@ fn fill(
(ty, None)
},
ast::Fn(it) => {
ast::Fn(_it) => {
cov_mark::hit!(expected_type_fn_ret_with_leading_char);
cov_mark::hit!(expected_type_fn_ret_without_leading_char);
let ty = self.token.ancestors()