diff options
Diffstat (limited to 'gcc/ada/sem_ch8.adb')
-rw-r--r-- | gcc/ada/sem_ch8.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_ch8.adb b/gcc/ada/sem_ch8.adb index 8d77ada..8a1a13ca 100644 --- a/gcc/ada/sem_ch8.adb +++ b/gcc/ada/sem_ch8.adb @@ -1530,7 +1530,7 @@ package body Sem_Ch8 is -- Ignore (accept) N_Raise_xxx_Error nodes in this context. elsif No_Raise_xxx_Error (Nam) = OK then - Error_Msg_Ada_2020_Feature ("value in renaming", Sloc (Nam)); + Error_Msg_Ada_2022_Feature ("value in renaming", Sloc (Nam)); end if; Set_Etype (Id, T2); |