diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2022-02-16 13:04:48 -0500 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2022-02-16 17:24:23 -0500 |
| commit | 976348603485b216b0d5314eca674a2b24df4c73 (patch) | |
| tree | 4b18e40496faf663e6101f16272682fd67120be2 /compiler/rustc_save_analysis/src | |
| parent | 393fdc10483da930cdbb00eabc3635030d2e776f (diff) | |
| download | rust-976348603485b216b0d5314eca674a2b24df4c73.tar.gz rust-976348603485b216b0d5314eca674a2b24df4c73.zip | |
Move ty::print methods to Drop-based scope guards
Diffstat (limited to 'compiler/rustc_save_analysis/src')
| -rw-r--r-- | compiler/rustc_save_analysis/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_save_analysis/src/lib.rs b/compiler/rustc_save_analysis/src/lib.rs index 8b0adba9fab..669e501bb21 100644 --- a/compiler/rustc_save_analysis/src/lib.rs +++ b/compiler/rustc_save_analysis/src/lib.rs @@ -982,7 +982,7 @@ pub fn process_crate<'l, 'tcx, H: SaveHandler>( config: Option<Config>, mut handler: H, ) { - with_no_trimmed_paths(|| { + with_no_trimmed_paths!({ tcx.dep_graph.with_ignore(|| { info!("Dumping crate {}", cratename); |
