mirror of
https://github.com/rust-lang/rust
synced 2024-10-02 06:44:33 +00:00
Rename hir::Node::expect_local
into hir::Node::expect_let_stmt
This commit is contained in:
parent
b376f49e30
commit
d318bf1009
|
@ -3757,7 +3757,7 @@ pub fn fn_kind(self) -> Option<FnKind<'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;
|
||||
|
|
Loading…
Reference in a new issue