Skip to content

Commit f3a685a

Browse files
authored
Merge pull request #66950 from ahoppen/ahoppen/new-parser-diag-typo
[Parse] Fix a typo in the new parser diagnostics
2 parents a682358 + 8e73c16 commit f3a685a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Parse/new_parser_diagnostics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
// REQUIRES: asserts
66

77
_ = [(Int) -> async throws Int]()
8-
// expected-error@-1{{'async throws' must preceed '->'}}
8+
// expected-error@-1{{'async throws' must precede '->'}}
99
// expected-note@-2{{move 'async throws' in front of '->'}}{{15-21=}} {{21-28=}} {{20-21= }} {{12-12=async }} {{12-12=throws }}

0 commit comments

Comments
 (0)