about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving/cmp/eq.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-04-26 07:56:48 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-04-26 13:29:20 +1000
commit30d6f63b4eb24b830c4cee5512401b0f4e61d289 (patch)
tree7380486d5b67e97e167ec09981428756d04eab82 /compiler/rustc_builtin_macros/src/deriving/cmp/eq.rs
parent8dc84fa7d17980424b22909207056214663d0526 (diff)
downloadrust-30d6f63b4eb24b830c4cee5512401b0f4e61d289.tar.gz
rust-30d6f63b4eb24b830c4cee5512401b0f4e61d289.zip
Adjust some `pub`s.
Diffstat (limited to 'compiler/rustc_builtin_macros/src/deriving/cmp/eq.rs')
-rw-r--r--compiler/rustc_builtin_macros/src/deriving/cmp/eq.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_builtin_macros/src/deriving/cmp/eq.rs b/compiler/rustc_builtin_macros/src/deriving/cmp/eq.rs
index 45c4467a109..53a15131605 100644
--- a/compiler/rustc_builtin_macros/src/deriving/cmp/eq.rs
+++ b/compiler/rustc_builtin_macros/src/deriving/cmp/eq.rs
@@ -9,7 +9,7 @@ use rustc_span::symbol::sym;
 use rustc_span::Span;
 use thin_vec::{thin_vec, ThinVec};
 
-pub fn expand_deriving_eq(
+pub(crate) fn expand_deriving_eq(
     cx: &ExtCtxt<'_>,
     span: Span,
     mitem: &MetaItem,