@@ -1798,30 +1798,13 @@ ERROR(isa_pattern_value,sema_tcp,none,
1798
1798
1799
1799
ERROR(try_unhandled,sema,none,
1800
1800
" errors thrown from here are not handled" , ())
1801
- ERROR(throwing_call_unhandled,sema,none,
1802
- " call can throw, but the error is not handled" , ())
1803
1801
ERROR(tryless_throwing_call_unhandled,sema,none,
1804
1802
" call can throw, but it is not marked with 'try' and "
1805
1803
" the error is not handled" , ())
1806
1804
ERROR(throw_in_nonthrowing_function,sema,none,
1807
1805
" error is not handled because the enclosing function "
1808
1806
" is not declared 'throws'" , ())
1809
1807
1810
- ERROR(throwing_call_in_rethrows_function,sema,none,
1811
- " throwing call in 'rethrows' function is not to a parameter "
1812
- " function" , ())
1813
- ERROR(tryless_throwing_call_in_rethrows_function,sema,none,
1814
- " throwing call in 'rethrows' function is not to a parameter "
1815
- " function and is not marked with 'try'" , ())
1816
- ERROR(throw_in_rethrows_function,sema,none,
1817
- " 'rethrows' function may only throw by calling a parameter "
1818
- " function" , ())
1819
- NOTE(because_rethrows_argument_throws,sema,none,
1820
- " call is to 'rethrows' function, but argument function can throw" , ())
1821
- NOTE(because_rethrows_default_argument_throws,sema,none,
1822
- " call is to 'rethrows' function, but a defaulted argument function"
1823
- " can throw" , ())
1824
-
1825
1808
ERROR(throwing_call_in_nonthrowing_autoclosure,sema,none,
1826
1809
" call can throw, but it is executed in a non-throwing "
1827
1810
" autoclosure" ,())
@@ -1835,11 +1818,11 @@ ERROR(throw_in_nonthrowing_autoclosure,sema,none,
1835
1818
ERROR(try_unhandled_in_nonexhaustive_catch,sema,none,
1836
1819
" errors thrown from here are not handled because the "
1837
1820
" enclosing catch is not exhaustive" , ())
1838
- ERROR(throwing_call_in_nonexhaustive_catch,sema,none,
1839
- " call can throw, but the enclosing catch is not exhaustive" , ())
1840
1821
ERROR(tryless_throwing_call_in_nonexhaustive_catch,sema,none,
1841
1822
" call can throw, but it is not marked with 'try' and "
1842
1823
" the enclosing catch is not exhaustive" , ())
1824
+ ERROR(throwing_call_in_nonexhaustive_catch,sema,none,
1825
+ " call can throw, but the enclosing catch is not exhaustive" , ())
1843
1826
ERROR(throw_in_nonexhaustive_catch,sema,none,
1844
1827
" error is not handled because the enclosing catch is not exhaustive" , ())
1845
1828
0 commit comments