Skip to content

Commit aae3e6a

Browse files
authored
Fix typo in explanation
1 parent 950a2e7 commit aae3e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2386,7 +2386,7 @@ object messages {
23862386
em"""no enclosing class or object is named '${hl(name.show)}'"""
23872387
val explanation: String =
23882388
ex"""
2389-
|The class or object named '${hl(name.show)}' was used a visibility
2389+
|The class or object named '${hl(name.show)}' was used as a visibility
23902390
|modifier, but could not be resolved. Make sure that
23912391
|'${hl(name.show)}' is not misspelled and has been imported into the
23922392
|current scope.

0 commit comments

Comments
 (0)