Use differently named __private module per patch release

This commit is contained in:
David Tolnay committed 2025-09-15 09:53:14 -07:00
1 parent 957996f5fb
commit cbe98a9888
7 files changed
+54 -10

No files matched your search

+4 -1
View File
@@ -96,7 +96,10 @@ struct private;
impl private {
fn ident(&self) -> Ident {
Ident::new("__private", Span::call_site())
Ident::new(
concat!("__private", env!("CARGO_PKG_VERSION_PATCH")),
Span::call_site(),
)
}
}