diff options
| author | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2021-03-12 10:02:51 +0300 |
|---|---|---|
| committer | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2021-03-12 10:08:44 +0300 |
| commit | b24902ea18e53fde6ec1814953e68be62e71b8ee (patch) | |
| tree | befc967bce2114211dcfdcfb4dc20c521d89eb8e /compiler/rustc_session/src | |
| parent | 77b996e1c628e8089f058244b011a2ee945a8984 (diff) | |
| download | rust-b24902ea18e53fde6ec1814953e68be62e71b8ee.tar.gz rust-b24902ea18e53fde6ec1814953e68be62e71b8ee.zip | |
Run analyses before thir-tree dumps
Fixes #83048
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs index c1be90efc72..f98c8a7916e 100644 --- a/compiler/rustc_session/src/config.rs +++ b/compiler/rustc_session/src/config.rs @@ -2293,7 +2293,7 @@ impl PpMode { pub fn needs_analysis(&self) -> bool { use PpMode::*; - matches!(*self, Mir | MirCFG) + matches!(*self, Mir | MirCFG | ThirTree) } } |
