Skip to content

Commit 5430235

Browse files
committed
fix compiler error
1 parent 9353a32 commit 5430235

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

compiler/rustc_middle/src/ty/print/pretty.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -662,12 +662,7 @@ pub trait PrettyPrinter<'tcx>: Printer<'tcx> + fmt::Write {
662662
if with_no_queries() {
663663
p!(print_def_path(def_id, args));
664664
} else {
665-
p!(
666-
print(def_id),
667-
" {{individual function type for",
668-
print_value_path(def_id, args),
669-
"}}"
670-
);
665+
p!("{{individual function type for", print_value_path(def_id, args), "}}");
671666
}
672667
}
673668
ty::FnPtr(ref bare_fn) => p!(print(bare_fn)),

0 commit comments

Comments
 (0)