Skip to content

Commit c1c1db7

Browse files
authored
Merge pull request #5994 from dwijnand/tweak-MissingIdent-explanation
Tweak MissingIdent's explanation
2 parents dbe94b3 + dd3bad7 commit c1c1db7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,8 @@ object messages {
282282
val explanation: String = {
283283
hl"""|The identifier for `$treeKind$name` is not bound, that is,
284284
|no declaration for this identifier can be found.
285-
|That can happen for instance if $name or its declaration has either been
286-
|misspelt, or if you're forgetting an import"""
285+
|That can happen, for example, if `$name` or its declaration has either been
286+
|misspelt or if an import is missing."""
287287
}
288288
}
289289

0 commit comments

Comments
 (0)