Move ty::print methods to Drop-based scope guards
This commit is contained in:
parent
393fdc1048
commit
9763486034
30 changed files with 142 additions and 142 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue