From 0066f873b744c81510bbb799778f50797bb6b60d Mon Sep 17 00:00:00 2001 From: LuisFerLCC Date: Thu, 5 Feb 2026 18:58:04 -0600 Subject: [PATCH] Add `#[inline]` temporarily --- impl/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/impl/src/lib.rs b/impl/src/lib.rs index b2648e1..aa980db 100644 --- a/impl/src/lib.rs +++ b/impl/src/lib.rs @@ -186,6 +186,8 @@ use types::ErrorStackDeriveInput; /// [`Report`]: https://docs.rs/error-stack/latest/error_stack/struct.Report.html /// [`Display`]: core::fmt::Display /// [`thiserror`]: https://crates.io/crates/thiserror +// TODO: remove #[inline] when fixed +#[inline] #[proc_macro_derive(Error, attributes(display))] pub fn impl_error_stack(input: TokenStream) -> TokenStream { let derive_input = parse_macro_input!(input as ErrorStackDeriveInput);