aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNym Seddon <unseddd@shh.xyz>2020-12-23 09:16:20 +0000
committerPhilip Herron <herron.philip@googlemail.com>2020-12-23 12:31:21 +0000
commitc4f1a7aa81feee7fe227bb61ef014eabba06a5d3 (patch)
treedb3ccae258fad28e9ab5d46df13661cfb15432c0 /gcc
parent671cefe61254bedd4a9f526f8912fe68368cbe72 (diff)
downloadgcc-c4f1a7aa81feee7fe227bb61ef014eabba06a5d3.zip
gcc-c4f1a7aa81feee7fe227bb61ef014eabba06a5d3.tar.gz
gcc-c4f1a7aa81feee7fe227bb61ef014eabba06a5d3.tar.bz2
Fix minor typo in visibility as_string
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/hir/tree/rust-hir-full-test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/hir/tree/rust-hir-full-test.cc b/gcc/rust/hir/tree/rust-hir-full-test.cc
index 0a87d25..2e30b59 100644
--- a/gcc/rust/hir/tree/rust-hir-full-test.cc
+++ b/gcc/rust/hir/tree/rust-hir-full-test.cc
@@ -286,7 +286,7 @@ Visibility::as_string () const
case NONE:
return std::string ("pub");
case CRATE:
- return std::string ("ub(crate)");
+ return std::string ("pub(crate)");
case SELF:
return std::string ("pub(self)");
case SUPER: