about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/placeholders.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-05-01 09:39:07 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-05-03 09:06:26 +1000
commit79c4d0202f0c5c44520a424cae34af5e2d30a2cc (patch)
treec1837696eaac4fc7b927395a70b164fc2750d464 /compiler/rustc_expand/src/placeholders.rs
parentc9c964fc379966a9fd932e1b5ac8a3327e424cd3 (diff)
downloadrust-79c4d0202f0c5c44520a424cae34af5e2d30a2cc.tar.gz
rust-79c4d0202f0c5c44520a424cae34af5e2d30a2cc.zip
Remove unnecessary `pub`s.
Diffstat (limited to 'compiler/rustc_expand/src/placeholders.rs')
-rw-r--r--compiler/rustc_expand/src/placeholders.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_expand/src/placeholders.rs b/compiler/rustc_expand/src/placeholders.rs
index 581d71875bd..7026425e167 100644
--- a/compiler/rustc_expand/src/placeholders.rs
+++ b/compiler/rustc_expand/src/placeholders.rs
@@ -9,7 +9,7 @@ use rustc_span::DUMMY_SP;
 use smallvec::{smallvec, SmallVec};
 use thin_vec::ThinVec;
 
-pub fn placeholder(
+pub(crate) fn placeholder(
     kind: AstFragmentKind,
     id: ast::NodeId,
     vis: Option<ast::Visibility>,