]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Store visibility properly in ExternalTypeItem
authorjjasmine <tanghocle456@gmail.com>
Sat, 9 Mar 2024 22:16:34 +0000 (17:16 -0500)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 1 Aug 2024 11:12:16 +0000 (13:12 +0200)
commit8c0b6506cb42f2ba5fcea63fbc56994486d3c3ab
tree0639fe420930cf55001bf12086aa4698de4b7050
parenta7b1a89da13b70fa81e12a4dc873c96ce38e1327
gccrs: Store visibility properly in ExternalTypeItem

Fix issue 2897

gcc/rust/ChangeLog:

* hir/rust-ast-lower-extern.h: Add translate_visiblity
* hir/tree/rust-hir-item.h: Fix constructor of ExternalTypeItem
gcc/rust/hir/rust-ast-lower-extern.h
gcc/rust/hir/tree/rust-hir-item.h