diff --git a/components/salsa-macros/src/query_group.rs b/components/salsa-macros/src/query_group.rs index 2fce2505..c7ee56bc 100644 --- a/components/salsa-macros/src/query_group.rs +++ b/components/salsa-macros/src/query_group.rs @@ -87,7 +87,7 @@ pub(crate) fn query_group(args: TokenStream, input: TokenStream) -> TokenStream match iter.next() { Some(FnArg::SelfRef(sr)) if sr.mutability.is_none() => (), _ => panic!( - "first argument of query `{}` must be `&self` or `&mut self`", + "first argument of query `{}` must be `&self`", method.sig.ident ), }