about summary refs log tree commit diff
path: root/compiler/rustc_const_eval
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-10-16 20:36:56 +0200
committerNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-10-17 18:01:07 +0200
commit0b5a4c1adfc4cede0fa06243ef9e7447e286affb (patch)
tree7102e17497c5602ee19d939da075073e06e4de7a /compiler/rustc_const_eval
parent3895f0e9affaab800f5f2cdc06726aeee9a7ff10 (diff)
downloadrust-0b5a4c1adfc4cede0fa06243ef9e7447e286affb.tar.gz
rust-0b5a4c1adfc4cede0fa06243ef9e7447e286affb.zip
Remove `Print::Output`
Now that `Printer` doesn't have subprinters anymore, the output of a
printing operation is always the same.
Diffstat (limited to 'compiler/rustc_const_eval')
-rw-r--r--compiler/rustc_const_eval/src/util/type_name.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/util/type_name.rs b/compiler/rustc_const_eval/src/util/type_name.rs
index 5a068feb2d2..fba8121ead0 100644
--- a/compiler/rustc_const_eval/src/util/type_name.rs
+++ b/compiler/rustc_const_eval/src/util/type_name.rs
@@ -140,7 +140,7 @@ impl<'tcx> PrettyPrinter<'tcx> for AbsolutePathPrinter<'tcx> {
     }
     fn comma_sep<T>(mut self, mut elems: impl Iterator<Item = T>) -> Result<Self, Self::Error>
     where
-        T: Print<'tcx, Self, Output = Self, Error = Self::Error>,
+        T: Print<'tcx, Self, Error = Self::Error>,
     {
         if let Some(first) = elems.next() {
             self = first.print(self)?;