diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2024-05-21 10:58:55 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-17 16:35:33 +0100 |
commit | 4395d6893473719acd15fbbeab3eb27db2b56dc2 (patch) | |
tree | 1e009962ff22c24dc531a8e811bae5dd90a65a57 /gcc/rust/backend/rust-compile-intrinsic.h | |
parent | a2a66257457d368c999319b8d31e4d11367f8755 (diff) | |
download | gcc-4395d6893473719acd15fbbeab3eb27db2b56dc2.zip gcc-4395d6893473719acd15fbbeab3eb27db2b56dc2.tar.gz gcc-4395d6893473719acd15fbbeab3eb27db2b56dc2.tar.bz2 |
gccrs: Add raw_ref_op feature gate
Raw ref operators are still experimental and shall not slip within
stable rust, they should therefore be feature gated.
gcc/rust/ChangeLog:
* checks/errors/rust-feature-gate.cc (FeatureGate::visit): Gate raw
borrow.
* checks/errors/rust-feature-gate.h: Update function prototype.
* checks/errors/rust-feature.cc: Add raw_ref_op gate.
* checks/errors/rust-feature.h: Likewise.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-intrinsic.h')
0 files changed, 0 insertions, 0 deletions