@@ -4246,8 +4246,8 @@ ERROR(throwing_interpolation_without_try,none,
42464246 " interpolation can throw but is not marked with 'try'" , ())
42474247ERROR(throwing_call_without_try,none,
42484248 " call can throw but is not marked with 'try'" , ())
4249- ERROR(throwing_spawn_let_without_try ,none,
4250- " reading 'spawn let' can throw but is not marked with 'try'" , ())
4249+ ERROR(throwing_async_let_without_try ,none,
4250+ " reading 'async let' can throw but is not marked with 'try'" , ())
42514251ERROR(throwing_prop_access_without_try,none,
42524252 " property access can throw but is not marked with 'try'" , ())
42534253ERROR(throwing_subscript_access_without_try,none,
@@ -4276,8 +4276,8 @@ NOTE(async_access_without_await,none,
42764276
42774277NOTE(async_call_without_await_in_autoclosure,none,
42784278 " call is 'async' in an autoclosure argument" , ())
4279- NOTE(async_call_without_await_in_spawn_let ,none,
4280- " call is 'async' in an 'spawn let' initializer" , ())
4279+ NOTE(async_call_without_await_in_async_let ,none,
4280+ " call is 'async' in an 'async let' initializer" , ())
42814281
42824282WARNING(no_async_in_await,none,
42834283 " no 'async' operations occur within 'await' expression" , ())
@@ -4290,7 +4290,7 @@ ERROR(await_in_illegal_context,none,
42904290 " %select{<<ERROR>>|a default argument|a property wrapper initializer|a property initializer|a global variable initializer|an enum case raw value|a catch pattern|a catch guard expression|a defer body}0" ,
42914291 (unsigned ))
42924292ERROR(async_in_nonasync_function,none,
4293- " %select{'async'|'async' call|'await'|'spawn let'|'async' property access|'async' subscript access}0 in "
4293+ " %select{'async'|'async' call|'await'|'async let'|'async' property access|'async' subscript access}0 in "
42944294 " %select{a function|an autoclosure}1 that does not support concurrency" ,
42954295 (unsigned , bool ))
42964296NOTE(note_add_async_to_function,none,
@@ -4317,21 +4317,18 @@ NOTE(protocol_witness_async_conflict,none,
43174317ERROR(async_autoclosure_nonasync_function,none,
43184318 " 'async' autoclosure parameter in a non-'async' function" , ())
43194319
4320- WARNING(async_let_is_spawn_let,none,
4321- " 'async let' is now 'spawn let'" , ())
4322-
4323- ERROR(spawn_not_let,none,
4324- " 'spawn' can only be used with 'let' declarations" , ())
4325- ERROR(spawn_let_not_local,none,
4326- " 'spawn let' can only be used on local declarations" , ())
4327- ERROR(spawn_let_not_initialized,none,
4328- " 'spawn let' binding requires an initializer expression" , ())
4329- ERROR(spawn_let_no_variables,none,
4330- " 'spawn let' requires at least one named variable" , ())
4331- NOTE(spawn_let_without_await,none,
4332- " reference to spawn let %0 is 'async'" , (DeclName))
4333- ERROR(spawn_let_in_illegal_context,none,
4334- " spawn let %0 cannot be referenced in "
4320+ ERROR(async_not_let,none,
4321+ " 'async' can only be used with 'let' declarations" , ())
4322+ ERROR(async_let_not_local,none,
4323+ " 'async let' can only be used on local declarations" , ())
4324+ ERROR(async_let_not_initialized,none,
4325+ " 'async let' binding requires an initializer expression" , ())
4326+ ERROR(async_let_no_variables,none,
4327+ " 'async let' requires at least one named variable" , ())
4328+ NOTE(async_let_without_await,none,
4329+ " reference to async let %0 is 'async'" , (DeclName))
4330+ ERROR(async_let_in_illegal_context,none,
4331+ " async let %0 cannot be referenced in "
43354332 " %select{<<ERROR>>|a default argument|a property wrapper initializer|a property initializer|a global variable initializer|an enum case raw value|a catch pattern|a catch guard expression|a defer body}1" ,
43364333 (DeclName, unsigned ))
43374334
@@ -4428,8 +4425,8 @@ ERROR(actor_isolated_from_concurrent_closure,none,
44284425ERROR(actor_isolated_from_concurrent_function,none,
44294426 " actor-isolated %0 %1 cannot be %select{referenced|mutated|used 'inout'}2 from a concurrent function" ,
44304427 (DescriptiveDeclKind, DeclName, unsigned ))
4431- ERROR(actor_isolated_from_spawn_let ,none,
4432- " actor-isolated %0 %1 cannot be %select{referenced|mutated|used 'inout'}2 from 'spawn let' initializer" ,
4428+ ERROR(actor_isolated_from_async_let ,none,
4429+ " actor-isolated %0 %1 cannot be %select{referenced|mutated|used 'inout'}2 from 'async let' initializer" ,
44334430 (DescriptiveDeclKind, DeclName, unsigned ))
44344431ERROR(actor_isolated_keypath_component,none,
44354432 " cannot form key path to actor-isolated %0 %1" ,
0 commit comments