diff options
author | Laurențiu Nicola <[email protected]> | 2021-03-05 13:59:50 +0000 |
---|---|---|
committer | Laurențiu Nicola <[email protected]> | 2021-03-05 13:59:50 +0000 |
commit | 42057896bc1435b67a2d1cce6100bcbe8e54f38e (patch) | |
tree | 31592ef0ad2a7610b949411fbdbfe58a596e4987 /crates/hir_def | |
parent | 9707acb59b3f1f74bcc2f806ea5eab59279fad5e (diff) |
Fix some warnings
Diffstat (limited to 'crates/hir_def')
-rw-r--r-- | crates/hir_def/src/attr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_def/src/attr.rs b/crates/hir_def/src/attr.rs index fe4c3fa28..24ffa6c3a 100644 --- a/crates/hir_def/src/attr.rs +++ b/crates/hir_def/src/attr.rs | |||
@@ -367,7 +367,7 @@ fn inner_attributes( | |||
367 | // Excerpt from the reference: | 367 | // Excerpt from the reference: |
368 | // Block expressions accept outer and inner attributes, but only when they are the outer | 368 | // Block expressions accept outer and inner attributes, but only when they are the outer |
369 | // expression of an expression statement or the final expression of another block expression. | 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 | _ => return None, | 371 | _ => return None, |
372 | } | 372 | } |
373 | }; | 373 | }; |