diff --git a/compiler/src/dotty/tools/dotc/typer/ErrorReporting.scala b/compiler/src/dotty/tools/dotc/typer/ErrorReporting.scala index 2c5eaca1a4c5..8c6eb6c6dece 100644 --- a/compiler/src/dotty/tools/dotc/typer/ErrorReporting.scala +++ b/compiler/src/dotty/tools/dotc/typer/ErrorReporting.scala @@ -414,7 +414,7 @@ class ImplicitSearchError( private def hiddenImplicitsAddendum: String = def hiddenImplicitNote(s: SearchSuccess) = - em"\n\nNote: given instance ${s.ref.symbol.showLocated} was not considered because it was not imported with `import given`." + em"\n\nNote: ${s.ref.symbol.showLocated} was not considered because it was not imported with `import given`." val normalImports = ignoredInstanceNormalImport.map(hiddenImplicitNote)