From: Pierre-Emmanuel Patry Date: Tue, 6 Jun 2023 16:45:36 +0000 (+0200) Subject: gccrs: attributes: Add allow_internal_unstable attribute X-Git-Tag: basepoints/gcc-15~2489 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=432120dc19ac0fe7323bdd4678ae26b45e34844e;p=thirdparty%2Fgcc.git gccrs: attributes: Add allow_internal_unstable attribute Add allow_internal_unstable to the attribute table in order for it to be flagged as builtin. gcc/rust/ChangeLog: * util/rust-attributes.cc: Add attribute to the table. --- diff --git a/gcc/rust/util/rust-attributes.cc b/gcc/rust/util/rust-attributes.cc index 63bb57f3cd45..3a33d0629f25 100644 --- a/gcc/rust/util/rust-attributes.cc +++ b/gcc/rust/util/rust-attributes.cc @@ -33,6 +33,7 @@ static const BuiltinAttrDefinition __definitions[] {"cfg_attr", EXPANSION}, {"deprecated", STATIC_ANALYSIS}, {"allow", STATIC_ANALYSIS}, + {"allow_internal_unstable", STATIC_ANALYSIS}, {"doc", HIR_LOWERING}, {"must_use", STATIC_ANALYSIS}, {"lang", HIR_LOWERING},