diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-06-06 18:45:36 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:46:25 +0100 |
commit | 432120dc19ac0fe7323bdd4678ae26b45e34844e (patch) | |
tree | a0b65ccd2c8cb9590170a5f9aca725591d9c9908 /gcc/rust | |
parent | 0af8582fc71521172e745b8f15b2dc9b83237ad4 (diff) | |
download | gcc-432120dc19ac0fe7323bdd4678ae26b45e34844e.zip gcc-432120dc19ac0fe7323bdd4678ae26b45e34844e.tar.gz gcc-432120dc19ac0fe7323bdd4678ae26b45e34844e.tar.bz2 |
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.
Diffstat (limited to 'gcc/rust')
-rw-r--r-- | gcc/rust/util/rust-attributes.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/util/rust-attributes.cc b/gcc/rust/util/rust-attributes.cc index 63bb57f..3a33d06 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}, |