educe/trait_handlers/ord/
panic.rs

1use proc_macro2::Span;
2
3#[inline]
4pub(crate) fn reuse_a_rank(span: Span, rank: isize) -> syn::Error {
5    syn::Error::new(span, format!("the rank `{rank}` is repeatedly used"))
6}