diff options
author | Jakub Dupak <dev@jakubdupak.com> | 2023-12-03 12:30:08 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-30 12:36:51 +0100 |
commit | bc1a47f72de0b40a7f26372f8407c0492e10403e (patch) | |
tree | 15a78a4620a43ae95ea63ed2a9c5da675a19f2b2 /gcc/c | |
parent | 6def638e66df549ad3885c2888a7fce9b0552670 (diff) | |
download | gcc-bc1a47f72de0b40a7f26372f8407c0492e10403e.zip gcc-bc1a47f72de0b40a7f26372f8407c0492e10403e.tar.gz gcc-bc1a47f72de0b40a7f26372f8407c0492e10403e.tar.bz2 |
gccrs: ast: Infer static lifetime for const and static items
(probably incomplete propagation)
gcc/rust/ChangeLog:
* hir/rust-ast-lower-base.cc (ASTLoweringBase::lower_lifetime): Propagate static
requirement.
* hir/rust-ast-lower-base.h: Propagate static requirement.
* hir/rust-ast-lower-implitem.h: Propagate static requirement.
* hir/rust-ast-lower-item.cc (ASTLoweringItem::visit): Propagate static requirement.
* hir/rust-ast-lower-type.cc (ASTLoweringType::translate): Propagate static requirement.
(ASTLoweringType::visit): Propagate static requirement.
* hir/rust-ast-lower-type.h: Propagate static requirement.
Signed-off-by: Jakub Dupak <dev@jakubdupak.com>
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions