Skip to content

Commit 87b66e7

Browse files
authored
Merge pull request #22251 from xedin/change-text-of-fallback-diag
[CSDiagnostics] NFC: Fallback diagnostic shouldn't ask for the project
2 parents 37f8f69 + 5202468 commit 87b66e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/swift/AST/DiagnosticsSema.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2778,7 +2778,7 @@ ERROR(specific_type_of_expression_is_ambiguous,none,
27782778

27792779
ERROR(failed_to_produce_diagnostic,Fatal,
27802780
"failed to produce diagnostic for expression; "
2781-
"please file a bug report with your project", ())
2781+
"please file a bug report", ())
27822782

27832783

27842784
ERROR(missing_protocol,none,

test/Sema/rdar38885760.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// RUN: not %target-swift-frontend -typecheck %s -parse-stdlib 2>%t/fallback_diagnostic.txt
44
// RUN: %FileCheck %s --check-prefix FALLBACK-DIAGNOSTIC <%t/fallback_diagnostic.txt
55
//
6-
// FALLBACK-DIAGNOSTIC: error: failed to produce diagnostic for expression; please file a bug report with your project
6+
// FALLBACK-DIAGNOSTIC: error: failed to produce diagnostic for expression; please file a bug report
77

88
import Swift
99

0 commit comments

Comments
 (0)