Fixes in various places
This commit is contained in:
parent
7591ec4e88
commit
917ad034cc
4 changed files with 5 additions and 4 deletions
|
|
@ -2931,6 +2931,7 @@ pub fn expr_use_ctxt<'tcx>(cx: &LateContext<'tcx>, e: &'tcx Expr<'tcx>) -> ExprU
|
|||
moved_before_use,
|
||||
same_ctxt,
|
||||
},
|
||||
#[allow(unreachable_patterns)]
|
||||
Some(ControlFlow::Break(_)) => unreachable!("type of node is ControlFlow<!>"),
|
||||
None => ExprUseCtxt {
|
||||
node: Node::Crate(cx.tcx.hir().root_module()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue