File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ fn inner_attributes(
367
367
// Excerpt from the reference:
368
368
// Block expressions accept outer and inner attributes, but only when they are the outer
369
369
// expression of an expression statement or the final expression of another block expression.
370
- ast:: BlockExpr ( it ) => return None ,
370
+ ast:: BlockExpr ( _it ) => return None ,
371
371
_ => return None ,
372
372
}
373
373
} ;
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ pub(crate) fn doc_owner_to_def(
189
189
) -> Option < Definition > {
190
190
let res: hir:: ModuleDef = match_ast ! {
191
191
match item {
192
- ast:: SourceFile ( it ) => sema. scope( & item) . module( ) ?. into( ) ,
192
+ ast:: SourceFile ( _it ) => sema. scope( & item) . module( ) ?. into( ) ,
193
193
ast:: Fn ( it) => sema. to_def( & it) ?. into( ) ,
194
194
ast:: Struct ( it) => sema. to_def( & it) ?. into( ) ,
195
195
ast:: Enum ( it) => sema. to_def( & it) ?. into( ) ,
You can’t perform that action at this time.
0 commit comments