rustc: move ty::print::PrintConfig's fields to FmtPrinter.
This commit is contained in:
parent
1a0f3a2856
commit
381fa7aa18
8 changed files with 185 additions and 190 deletions
|
@ -4312,9 +4312,9 @@ where F: Fn(DefId) -> Def {
|
|||
}
|
||||
}
|
||||
|
||||
let names = PrintCx::with(tcx, AbsolutePathPrinter, |cx| {
|
||||
cx.print_def_path(def_id, None, iter::empty()).unwrap()
|
||||
});
|
||||
let names = PrintCx::new(tcx, AbsolutePathPrinter)
|
||||
.print_def_path(def_id, None, iter::empty())
|
||||
.unwrap();
|
||||
|
||||
hir::Path {
|
||||
span: DUMMY_SP,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue