diff options
| author | Gary Guo <gary@garyguo.net> | 2023-12-25 20:53:01 +0000 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2024-02-24 18:49:39 +0000 |
| commit | a4b413d4fd8244e8a54ada9ef6b99160d8f7f01c (patch) | |
| tree | 6abec1a574ca3390bd27a3f2d5a12808311a3eec /clippy_utils | |
| parent | 31b551fee925cf9ca2d3c37fa09a712ef8e66228 (diff) | |
| download | rust-a4b413d4fd8244e8a54ada9ef6b99160d8f7f01c.tar.gz rust-a4b413d4fd8244e8a54ada9ef6b99160d8f7f01c.zip | |
Add asm label support to AST and HIR
Diffstat (limited to 'clippy_utils')
| -rw-r--r-- | clippy_utils/src/hir_utils.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_utils/src/hir_utils.rs b/clippy_utils/src/hir_utils.rs index d50332e82da..643852c1c54 100644 --- a/clippy_utils/src/hir_utils.rs +++ b/clippy_utils/src/hir_utils.rs @@ -835,6 +835,7 @@ impl<'a, 'tcx> SpanlessHash<'a, 'tcx> { self.hash_body(anon_const.body); }, InlineAsmOperand::SymStatic { path, def_id: _ } => self.hash_qpath(path), + InlineAsmOperand::Label { block } => self.hash_block(block), } } }, |
