File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -2490,7 +2490,7 @@ pub enum DefinedTy<'tcx> {
24902490 /// in the context of its definition site. We also track the `def_id` of its
24912491 /// definition site.
24922492 ///
2493- /// WARNING: As the `ty` in in the scope of the definition, not of the function
2493+ /// WARNING: As the `ty` is in the scope of the definition, not of the function
24942494 /// using it, you must be very careful with how you use it. Using it in the wrong
24952495 /// scope easily results in ICEs.
24962496 Mir {
@@ -2719,7 +2719,6 @@ pub fn expr_use_ctxt<'tcx>(cx: &LateContext<'tcx>, e: &Expr<'tcx>) -> ExprUseCtx
27192719 moved_before_use,
27202720 same_ctxt,
27212721 } ,
2722- Some ( ControlFlow :: Break ( _) ) => unreachable ! ( "type of node is ControlFlow<!>" ) ,
27232722 None => ExprUseCtxt {
27242723 node : Node :: Crate ( cx. tcx . hir_root_module ( ) ) ,
27252724 child_id : HirId :: INVALID ,
You can’t perform that action at this time.
0 commit comments