Skip to content

Commit da5328a

Browse files
bors[bot]lnicola
andauthored
Merge #8051
8051: Fix more unused wariable warnings r=lnicola a=lnicola bors r+ changelog skip Co-authored-by: Laurențiu Nicola <[email protected]>
2 parents c49b5b7 + a7cf976 commit da5328a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/ide_completion/src/context.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ impl<'a> CompletionContext<'a> {
313313

314314
(ty, name)
315315
},
316-
ast::ArgList(it) => {
316+
ast::ArgList(_it) => {
317317
cov_mark::hit!(expected_type_fn_param_with_leading_char);
318318
cov_mark::hit!(expected_type_fn_param_without_leading_char);
319319
ActiveParameter::at_token(
@@ -322,7 +322,7 @@ impl<'a> CompletionContext<'a> {
322322
).map(|ap| (Some(ap.ty), Some(ap.name)))
323323
.unwrap_or((None, None))
324324
},
325-
ast::RecordExprFieldList(it) => {
325+
ast::RecordExprFieldList(_it) => {
326326
cov_mark::hit!(expected_type_struct_field_without_leading_char);
327327
self.token.prev_sibling_or_token()
328328
.and_then(|se| se.into_node())
@@ -358,7 +358,7 @@ impl<'a> CompletionContext<'a> {
358358

359359
(ty, None)
360360
},
361-
ast::Fn(it) => {
361+
ast::Fn(_it) => {
362362
cov_mark::hit!(expected_type_fn_ret_with_leading_char);
363363
cov_mark::hit!(expected_type_fn_ret_without_leading_char);
364364
let ty = self.token.ancestors()

0 commit comments

Comments
 (0)