From 8e73c16aa58ae7e0f8f017c7ef4c422c68ff61e6 Mon Sep 17 00:00:00 2001 From: Alex Hoppen Date: Tue, 27 Jun 2023 09:13:43 +0200 Subject: [PATCH] [Parse] Fix a typo in the new parser diagnostics --- test/Parse/new_parser_diagnostics.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Parse/new_parser_diagnostics.swift b/test/Parse/new_parser_diagnostics.swift index 239058bcd2a4d..81f8d4c0e2eff 100644 --- a/test/Parse/new_parser_diagnostics.swift +++ b/test/Parse/new_parser_diagnostics.swift @@ -5,5 +5,5 @@ // REQUIRES: asserts _ = [(Int) -> async throws Int]() -// expected-error@-1{{'async throws' must preceed '->'}} +// expected-error@-1{{'async throws' must precede '->'}} // expected-note@-2{{move 'async throws' in front of '->'}}{{15-21=}} {{21-28=}} {{20-21= }} {{12-12=async }} {{12-12=throws }}