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> | 2023-06-08 14:32:34 +0200 |
commit | b966194fa3159d740d0cdaae5bb48400147037fe (patch) | |
tree | 2ddca35889ba097a856df03505c5c45186f8d929 /gcc/rust/util/rust-attributes.cc | |
parent | 69b2420743e34b6ec4d58cb7894eb3f480584ec4 (diff) | |
download | gcc-b966194fa3159d740d0cdaae5bb48400147037fe.zip gcc-b966194fa3159d740d0cdaae5bb48400147037fe.tar.gz gcc-b966194fa3159d740d0cdaae5bb48400147037fe.tar.bz2 |
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/util/rust-attributes.cc')
-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 19fab50..0656b27 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}, |