chore: add track_caller to store field methods (#3805)

This commit is contained in:
jasper
2025-03-30 22:13:44 +02:00
committed by GitHub
parent 1a83a78980
commit 7d3a9da577

View File

@@ -286,6 +286,7 @@ fn field_to_tokens(
match mode {
SubfieldMode::Keyed(keyed_by, key_ty) => {
let signature = quote! {
#[track_caller]
fn #ident(self) -> #library_path::KeyedSubfield<#any_store_field, #name #generics, #key_ty, #ty>
};
return if include_body {