]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #107023 - scottmcm:stop-shouting, r=Nilstrieb
authorMichael Goulet <michael@errs.io>
Wed, 18 Jan 2023 23:00:30 +0000 (18:00 -0500)
committerGitHub <noreply@github.com>
Wed, 18 Jan 2023 23:00:30 +0000 (18:00 -0500)
commit2eef516b307a18cab7a0a35698c977b79e3e17aa
tree37419eb0ae3e64a008bddfae777a32b0d7075ed5
parentcf5068bd623a68cf8d190159574839c35197cb06
parent7d57685682778900cb3b8d57605a143d402b8d0c
Rollup merge of #107023 - scottmcm:stop-shouting, r=Nilstrieb

Stop using `BREAK` & `CONTINUE` in compiler

Switching them to `Break(())` and `Continue(())` instead.

Entirely search-and-replace, though there's one spot where rustfmt insisted on a reformatting too.

libs-api would like to remove these constants (https://github.com/rust-lang/rust/pull/102697#issuecomment-1385705202), so stop using them in compiler to make the removal PR later smaller.
compiler/rustc_middle/src/ty/print/pretty.rs
compiler/rustc_middle/src/ty/sty.rs