File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/ide_completion/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ impl<'a> CompletionContext<'a> {
313
313
314
314
( ty, name)
315
315
} ,
316
- ast:: ArgList ( it ) => {
316
+ ast:: ArgList ( _it ) => {
317
317
cov_mark:: hit!( expected_type_fn_param_with_leading_char) ;
318
318
cov_mark:: hit!( expected_type_fn_param_without_leading_char) ;
319
319
ActiveParameter :: at_token(
@@ -322,7 +322,7 @@ impl<'a> CompletionContext<'a> {
322
322
) . map( |ap| ( Some ( ap. ty) , Some ( ap. name) ) )
323
323
. unwrap_or( ( None , None ) )
324
324
} ,
325
- ast:: RecordExprFieldList ( it ) => {
325
+ ast:: RecordExprFieldList ( _it ) => {
326
326
cov_mark:: hit!( expected_type_struct_field_without_leading_char) ;
327
327
self . token. prev_sibling_or_token( )
328
328
. and_then( |se| se. into_node( ) )
@@ -358,7 +358,7 @@ impl<'a> CompletionContext<'a> {
358
358
359
359
( ty, None )
360
360
} ,
361
- ast:: Fn ( it ) => {
361
+ ast:: Fn ( _it ) => {
362
362
cov_mark:: hit!( expected_type_fn_ret_with_leading_char) ;
363
363
cov_mark:: hit!( expected_type_fn_ret_without_leading_char) ;
364
364
let ty = self . token. ancestors( )
You can’t perform that action at this time.
0 commit comments