aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-05-19 02:44:42 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2024-06-11 11:19:26 +0000
commitca178958c4bb599da331f62cc5cc8a480ea5371e (patch)
treec7673eea2ba04c27791e83215090baecd1bbcfe4 /gcc/gimple-range.cc
parent32ccdf41a087e1027e4ba26cbe71c39d9e44b4d3 (diff)
downloadgcc-ca178958c4bb599da331f62cc5cc8a480ea5371e.zip
gcc-ca178958c4bb599da331f62cc5cc8a480ea5371e.tar.gz
gcc-ca178958c4bb599da331f62cc5cc8a480ea5371e.tar.bz2
Add feature gate for box syntax
The box syntax is experimental even though it is used in the standard library. It should be feature gated to prevent anyone from using it in stable rust. gcc/rust/ChangeLog: * checks/errors/rust-feature-gate.cc (FeatureGate::visit): Allow visitor recursion in functions. Also add the gate for the box syntax. * checks/errors/rust-feature-gate.h: Remove several recursion fences in the feature gate visitor. * checks/errors/rust-feature.cc (Feature::create): Add a new feature. (Feature::as_name): Likewise. * checks/errors/rust-feature.h: Add box_syntax gate. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/gimple-range.cc')
0 files changed, 0 insertions, 0 deletions