]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: extern-types: Lower to HIR::ExternalTypeItem properly
authorArthur Cohen <arthur.cohen@embecosm.com>
Tue, 20 Feb 2024 15:22:20 +0000 (16:22 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 1 Aug 2024 11:11:30 +0000 (13:11 +0200)
commit07fc78500f6fbd365aebf98cfd9b8c7760f6692b
treef96a8fad2f30fa1d260814ba3e2e6be38dc72d37
parent26e77295e77e5e008e0aa43837edd293ca12179e
gccrs: 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