diff options
| author | Michael Goulet <michael@errs.io> | 2023-12-09 17:42:33 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-12-09 17:42:33 +0000 |
| commit | f1bf874fb13703d706fc8184407c6df12555d8e9 (patch) | |
| tree | 57bc622bc48bd9c8ac5a5d344b33e839045b1abd /compiler/rustc_const_eval | |
| parent | 08587a56f13a45b4752f1408cadf203ae44c6cf0 (diff) | |
| download | rust-f1bf874fb13703d706fc8184407c6df12555d8e9.tar.gz rust-f1bf874fb13703d706fc8184407c6df12555d8e9.zip | |
Don't print host effect param in pretty path_generic_args
Diffstat (limited to 'compiler/rustc_const_eval')
| -rw-r--r-- | compiler/rustc_const_eval/src/util/type_name.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_const_eval/src/util/type_name.rs b/compiler/rustc_const_eval/src/util/type_name.rs index a82b65b19a8..b6240906611 100644 --- a/compiler/rustc_const_eval/src/util/type_name.rs +++ b/compiler/rustc_const_eval/src/util/type_name.rs @@ -120,6 +120,7 @@ impl<'tcx> Printer<'tcx> for AbsolutePathPrinter<'tcx> { &mut self, print_prefix: impl FnOnce(&mut Self) -> Result<(), PrintError>, args: &[GenericArg<'tcx>], + _params: &[ty::GenericParamDef], ) -> Result<(), PrintError> { print_prefix(self)?; let args = |
