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.
2 parents c30fc8e + 7a0b19e commit 831b062Copy full SHA for 831b062
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