diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-11-21 17:56:10 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-30 12:36:46 +0100 |
commit | 7a4c2f8e43fca4e18e821fc2df24b6949d09be36 (patch) | |
tree | 8562c0bbd714426bac21d22a0df4a0f016c6d77c /gcc/c | |
parent | b71668068b1d7bf912fc345252bbc5f9ed6d3927 (diff) | |
download | gcc-7a4c2f8e43fca4e18e821fc2df24b6949d09be36.zip gcc-7a4c2f8e43fca4e18e821fc2df24b6949d09be36.tar.gz gcc-7a4c2f8e43fca4e18e821fc2df24b6949d09be36.tar.bz2 |
gccrs: Add unsafety member to modules
The rust syntax allows unsafe module even if those are rejected at a
later stage.
gcc/rust/ChangeLog:
* ast/rust-item.h: Add safety status to Modules in the AST.
* parse/rust-parse-impl.h (Parser::parse_module): Adapt constructors.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions