diff --git a/compiler/src/dotty/tools/dotc/printing/Formatting.scala b/compiler/src/dotty/tools/dotc/printing/Formatting.scala index 0cef7fd3e833..e3f81adeee8a 100644 --- a/compiler/src/dotty/tools/dotc/printing/Formatting.scala +++ b/compiler/src/dotty/tools/dotc/printing/Formatting.scala @@ -66,7 +66,7 @@ object Formatting { given Show[Boolean] = ShowAny given Show[String] = ShowAny given Show[Class[?]] = ShowAny - given Show[Exception] = ShowAny + given Show[Throwable] = ShowAny given Show[StringBuffer] = ShowAny given Show[CompilationUnit] = ShowAny given Show[Phases.Phase] = ShowAny