提交 54681b09 编写于 作者: F Felix S. Klock II

restrict scope of methods that are only called within mod tree of parent.

上级 26c40694
......@@ -240,7 +240,7 @@ pub fn match_expr(
end_block.unit()
}
pub fn expr_into_pattern(
pub(super) fn expr_into_pattern(
&mut self,
mut block: BasicBlock,
irrefutable_pat: Pattern<'tcx>,
......@@ -488,7 +488,7 @@ pub fn schedule_drop_for_binding(&mut self, var: NodeId, span: Span, for_guard:
);
}
pub fn visit_bindings(
pub(super) fn visit_bindings(
&mut self,
pattern: &Pattern<'tcx>,
mut pattern_user_ty: Option<(UserTypeAnnotation<'tcx>, Span)>,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册