aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2022-09-27 15:49:59 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2022-09-28 11:54:59 +0200
commit960d9d289e47ecad67a32f6cf5ace0c11ab84191 (patch)
tree411e9ea803fcfbc76a8da6fc4469fc77a558f05d /gcc/rust/ast
parent9b1ba11b0b2f873b85dfc7643fe778e974e874b8 (diff)
downloadgcc-960d9d289e47ecad67a32f6cf5ace0c11ab84191.zip
gcc-960d9d289e47ecad67a32f6cf5ace0c11ab84191.tar.gz
gcc-960d9d289e47ecad67a32f6cf5ace0c11ab84191.tar.bz2
visibility: Rename get_public_vis_type -> get_vis_type
Diffstat (limited to 'gcc/rust/ast')
-rw-r--r--gcc/rust/ast/rust-item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/ast/rust-item.h b/gcc/rust/ast/rust-item.h
index 4987674..20f1b93 100644
--- a/gcc/rust/ast/rust-item.h
+++ b/gcc/rust/ast/rust-item.h
@@ -634,7 +634,7 @@ public:
: vis_type (vis_type), in_path (std::move (in_path))
{}
- VisType get_public_vis_type () const { return vis_type; }
+ VisType get_vis_type () const { return vis_type; }
// Returns whether visibility is in an error state.
bool is_error () const