diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-01 09:39:07 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-03 09:06:26 +1000 |
| commit | 79c4d0202f0c5c44520a424cae34af5e2d30a2cc (patch) | |
| tree | c1837696eaac4fc7b927395a70b164fc2750d464 /compiler/rustc_expand/src/placeholders.rs | |
| parent | c9c964fc379966a9fd932e1b5ac8a3327e424cd3 (diff) | |
| download | rust-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.rs | 2 |
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>, |
