]> git.ipfire.org Git - thirdparty/gcc.git/commit
extern-types: Lower to HIR::ExternalTypeItem properly
authorArthur Cohen <arthur.cohen@embecosm.com>
Tue, 20 Feb 2024 15:22:20 +0000 (16:22 +0100)
committerCohenArthur <arthur.cohen@embecosm.com>
Thu, 29 Feb 2024 15:53:03 +0000 (15:53 +0000)
commit9ee5b51f57b358531ad0aeb84e4ef307e59e195c
tree69873381237878b177627ff8abe3726afc401742
parent8e3c34aa04229b0364d9834fc682ca1707ed9a01
extern-types: Lower to HIR::ExternalTypeItem properly

gcc/rust/ChangeLog:

* hir/rust-ast-lower-extern.h: Lower to HIR::ExternalTypeItem nodes.
* hir/tree/rust-hir-item.h (class ExternalTypeItem): Create private
visibility by default as extern types have no visibility - add a comment
about the correctness of this.
gcc/rust/hir/rust-ast-lower-extern.h
gcc/rust/hir/tree/rust-hir-item.h