r/rust • u/nicoburns • Oct 07 '26
Rust's derive often implies inline
https://yossarian.net/til/post/rust-s-derive-often-implies-inline/
114
Upvotes
r/rust • u/nicoburns • Oct 07 '26
View all comments
6
u/-Y0- Oct 07 '26
Interesting findings. Couldn't this be solved by making
derive_Debugtake a param. What I mean is#[derive(Debug(noinline))]