diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-01-29 07:21:11 +0200 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-03-15 13:25:10 +0200 |
| commit | 8619edede1496a8d9c4131f9cb2079e71dccd5fb (patch) | |
| tree | 912e6fb69b376cb1132947a95ccf9ea0cf52580f /src/librustdoc | |
| parent | 9df7c3f48fd4bb20da04624d19c8c1465d1117dc (diff) | |
| download | rust-8619edede1496a8d9c4131f9cb2079e71dccd5fb.tar.gz rust-8619edede1496a8d9c4131f9cb2079e71dccd5fb.zip | |
rustc: slice substs in ty::print instead of passing the full ones.
Diffstat (limited to 'src/librustdoc')
| -rw-r--r-- | src/librustdoc/clean/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs index 53087eb1b1a..da73eb0cda5 100644 --- a/src/librustdoc/clean/mod.rs +++ b/src/librustdoc/clean/mod.rs @@ -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 { |
