diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2024-05-20 13:26:43 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-06-11 15:53:17 +0000 |
commit | 85967c878147b3dc77f969f18adddfe2d5c3676d (patch) | |
tree | f15c6c342202ffab8f39903b6f652e29e3de07c7 /gcc/file-prefix-map.h | |
parent | 2a1e169956f9faa13928eda3f146ea0cc770b864 (diff) | |
download | gcc-85967c878147b3dc77f969f18adddfe2d5c3676d.zip gcc-85967c878147b3dc77f969f18adddfe2d5c3676d.tar.gz gcc-85967c878147b3dc77f969f18adddfe2d5c3676d.tar.bz2 |
Add dropck_eyepatch feature gate for may_dangle
Add a new feature gate for may_dangle generic param outer attributes.
gcc/rust/ChangeLog:
* checks/errors/rust-feature-gate.cc: Visit and gate may_dangle
attributes.
* checks/errors/rust-feature-gate.h: Update visit function prototype
and add a new member function to check on a set of attributes whether
one is may_dangle.
* checks/errors/rust-feature.cc (Feature::create): Add new
dropck_eyepatch feature.
* checks/errors/rust-feature.h: Likewise.
* util/rust-attribute-values.h: Add new may_dangle attribute value.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/file-prefix-map.h')
0 files changed, 0 insertions, 0 deletions