summaryrefslogtreecommitdiff
path: root/gcc/ada/sem_attr.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/sem_attr.adb')
-rw-r--r--gcc/ada/sem_attr.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/sem_attr.adb b/gcc/ada/sem_attr.adb
index 73239e600aa..1b6d3ef30b6 100644
--- a/gcc/ada/sem_attr.adb
+++ b/gcc/ada/sem_attr.adb
@@ -2065,8 +2065,8 @@ package body Sem_Attr is
and then not In_Open_Scopes (Scope (P_Type))
and then not In_Spec_Expression
then
- Formal_Error_Msg_NE
- ("invisible attribute of}", N, First_Subtype (P_Type));
+ Error_Msg_FE
+ ("|~~invisible attribute of}", N, First_Subtype (P_Type));
end if;
-- Remaining processing depends on attribute