diff options
author | mxlol233 <mxlol233@outlook.com> | 2023-03-01 19:31:19 +0800 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:19:01 +0100 |
commit | 1793dec6639c450edf1a1e227faa5ba2c69d4eb8 (patch) | |
tree | bee71fdb14919b541635e6f79d76d80f166233b4 /gcc/rust/hir/tree/rust-hir.h | |
parent | 98b83ea8a41763d1a760a79a27132fbc610b93d4 (diff) | |
download | gcc-1793dec6639c450edf1a1e227faa5ba2c69d4eb8.zip gcc-1793dec6639c450edf1a1e227faa5ba2c69d4eb8.tar.gz gcc-1793dec6639c450edf1a1e227faa5ba2c69d4eb8.tar.bz2 |
gccrs: Add feature gate definition for `extern_types`.
This commit add a basic implementation to gating `ExternalTypeItem` AST node.
gcc/rust/ChangeLog:
* checks/errors/rust-feature-gate.cc: Add definition
for `extern_types`.
* checks/errors/rust-feature-gate.h: Likewise.
* checks/errors/rust-feature.cc: Likewise.
* checks/errors/rust-feature.h: Likewise.
gcc/testsuite/ChangeLog:
* rust/compile/feature_extern_types.rs:New file.
Signed-off-by: Xiao Ma <mxlol233@outlook.com>
Diffstat (limited to 'gcc/rust/hir/tree/rust-hir.h')
0 files changed, 0 insertions, 0 deletions