diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2017-03-21 09:19:49 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2017-03-30 07:55:29 -0400 |
| commit | a60e27e25b88dd7febdb3f878a09bef08c03eb41 (patch) | |
| tree | 4330fa61d69360aa2d0aa03c9674e5472dabd22a /src | |
| parent | f11b7d33bb71a78beb6a4671d53d2e89a2afc0ef (diff) | |
| download | rust-a60e27e25b88dd7febdb3f878a09bef08c03eb41.tar.gz rust-a60e27e25b88dd7febdb3f878a09bef08c03eb41.zip | |
pacify the mercilous tidy
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_typeck/check/mod.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/librustc_typeck/check/mod.rs b/src/librustc_typeck/check/mod.rs index 21eaa0c2120..65e7e240cc3 100644 --- a/src/librustc_typeck/check/mod.rs +++ b/src/librustc_typeck/check/mod.rs @@ -3605,8 +3605,10 @@ impl<'a, 'gcx, 'tcx> FnCtxt<'a, 'gcx, 'tcx> { ctxt.may_break = true; } else { - // Otherwise, we failed to find the enclosing loop; this can only happen if the - // `break` was not inside a loop at all, which is caught by the loop-checking pass. + // Otherwise, we failed to find the enclosing loop; + // this can only happen if the `break` was not + // inside a loop at all, which is caught by the + // loop-checking pass. assert!(self.tcx.sess.err_count() > 0); } |
