aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse-impl.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-05-21 10:58:55 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2024-06-12 09:56:01 +0000
commitbd97356fbbbf889b049b25775b98dcace2d84885 (patch)
tree2b28572309f13ccbfe3679a95f6b50b84a40b31b /gcc/rust/parse/rust-parse-impl.h
parentef8821745ee8755e948a2bce906c58216a6d6188 (diff)
downloadgcc-bd97356fbbbf889b049b25775b98dcace2d84885.zip
gcc-bd97356fbbbf889b049b25775b98dcace2d84885.tar.gz
gcc-bd97356fbbbf889b049b25775b98dcace2d84885.tar.bz2
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/parse/rust-parse-impl.h')
0 files changed, 0 insertions, 0 deletions