Cleanup PpMode
and friends
This commit is contained in:
parent
cb2effd44e
commit
3ed189e8af
3 changed files with 83 additions and 74 deletions
|
@ -348,7 +348,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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue