rustc: slice substs in ty::print instead of passing the full ones.
This commit is contained in:
parent
9df7c3f48f
commit
8619edede1
10 changed files with 77 additions and 86 deletions
|
|
@ -4322,7 +4322,7 @@ pub fn get_path_for_type(
|
|||
}
|
||||
|
||||
let names = AbsolutePathPrinter { tcx: tcx.global_tcx() }
|
||||
.print_def_path(def_id, None)
|
||||
.print_def_path(def_id, &[])
|
||||
.unwrap();
|
||||
|
||||
hir::Path {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue