diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-03-22 17:48:34 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-03-22 20:36:21 +0100 |
| commit | d318bf100955272895cb6012cd2854f8dbdcc47e (patch) | |
| tree | 01074fae0052af29d832aed6a4bc5b25c0b7bd81 | |
| parent | b376f49e3092731c589384b3e7909adde6a8a7aa (diff) | |
| download | rust-d318bf100955272895cb6012cd2854f8dbdcc47e.tar.gz rust-d318bf100955272895cb6012cd2854f8dbdcc47e.zip | |
Rename `hir::Node::expect_local` into `hir::Node::expect_let_stmt`
| -rw-r--r-- | compiler/rustc_hir/src/hir.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir/src/hir.rs b/compiler/rustc_hir/src/hir.rs index 0b55c187463..ad50928dc82 100644 --- a/compiler/rustc_hir/src/hir.rs +++ b/compiler/rustc_hir/src/hir.rs @@ -3757,7 +3757,7 @@ impl<'hir> Node<'hir> { expect_pat_field, &'hir PatField<'hir>, Node::PatField(n), n; expect_arm, &'hir Arm<'hir>, Node::Arm(n), n; expect_block, &'hir Block<'hir>, Node::Block(n), n; - expect_local, &'hir LetStmt<'hir>, Node::Local(n), n; + expect_let_stmt, &'hir LetStmt<'hir>, Node::Local(n), n; expect_ctor, &'hir VariantData<'hir>, Node::Ctor(n), n; expect_lifetime, &'hir Lifetime, Node::Lifetime(n), n; expect_generic_param, &'hir GenericParam<'hir>, Node::GenericParam(n), n; |
