diff options
| author | bors <bors@rust-lang.org> | 2021-02-25 21:34:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-02-25 21:34:55 +0000 |
| commit | c0a54cc4eb6111cac9ad75cc439f75b79698b4a7 (patch) | |
| tree | c53ca0c588422e538c94226dcb0a3f81c86c433a /compiler/rustc_interface/src | |
| parent | 98f8cce6db6c6c6660eeffee2b3903104e547ecf (diff) | |
| parent | 42e53ff8adf8a4c7ab8d5f87816e30405a1ec9e2 (diff) | |
| download | rust-c0a54cc4eb6111cac9ad75cc439f75b79698b4a7.tar.gz rust-c0a54cc4eb6111cac9ad75cc439f75b79698b4a7.zip | |
Auto merge of #82530 - Aaron1011:rollup-aalwq15, r=Aaron1011
Rollup of 11 pull requests Successful merges: - #82269 (Cleanup `PpMode` and friends) - #82431 (Set RUST_BACKTRACE=0 when running `treat-err-as-bug` tests) - #82441 (Fix typo in sanitizer flag in unstable book.) - #82463 (panic_bounds_checks should be panic_bounds_check) - #82464 (Update outdated comment in unix Command.) - #82467 (library: Normalize safety-for-unsafe-block comments) - #82468 (Move pick_by_value_method docs above function header) - #82484 (rustdoc: Remove duplicate "List of all items") - #82502 (Only look for HTML `tidy` when running rustdoc tests) - #82503 (fix typo in `pre-commit.sh`) - #82510 (Fix typo in `param_env_reveal_all_normalized`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/passes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index 6358855ac32..5217066bbef 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -350,7 +350,7 @@ fn configure_and_expand_inner<'a>( rustc_builtin_macros::test_harness::inject(&sess, &mut resolver, &mut krate) }); - if let Some(PpMode::PpmSource(PpSourceMode::PpmEveryBodyLoops)) = sess.opts.pretty { + if let Some(PpMode::Source(PpSourceMode::EveryBodyLoops)) = sess.opts.pretty { tracing::debug!("replacing bodies with loop {{}}"); util::ReplaceBodyWithLoop::new(&mut resolver).visit_crate(&mut krate); } |
