We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 855f572 commit 7a0b19eCopy full SHA for 7a0b19e
compiler/src/dotty/tools/dotc/typer/ErrorReporting.scala
@@ -414,7 +414,7 @@ class ImplicitSearchError(
414
415
private def hiddenImplicitsAddendum: String =
416
def hiddenImplicitNote(s: SearchSuccess) =
417
- 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`."
418
419
val normalImports = ignoredInstanceNormalImport.map(hiddenImplicitNote)
420
0 commit comments