Skip to content

Commit 7dc6406

Browse files
elshbeccadax
andauthored
Update include/swift/AST/DiagnosticsParse.def
Co-authored-by: Becca Royal-Gordon <[email protected]>
1 parent 257ae1b commit 7dc6406

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/swift/AST/DiagnosticsParse.def

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,8 @@ ERROR(getset_cannot_be_implied,none,
303303
ERROR(decl_expected_module_name,none,
304304
"expected module name in import declaration", ())
305305
ERROR(expected_module_alias,none,
306-
"module real name should not appear in source files; only the module alias is allowed", ())
306+
"cannot refer to module as %0 because it has been aliased; use %1 "
307+
"instead", (Identifier, Identifier))
307308

308309
// Extension
309310
ERROR(expected_lbrace_extension,PointsToFirstBadToken,

0 commit comments

Comments
 (0)