From 960d9d289e47ecad67a32f6cf5ace0c11ab84191 Mon Sep 17 00:00:00 2001 From: Arthur Cohen Date: Tue, 27 Sep 2022 15:49:59 +0200 Subject: visibility: Rename get_public_vis_type -> get_vis_type --- gcc/rust/ast/rust-item.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/rust/ast') 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 -- cgit v1.1