Idea: #[must_use = inherit]
Rust Internals [Unofficial]
March 30, 2026
I don't think that solves the OP's problem – the issue is that adding a plain #[must_use] overrides/hides any message that would otherwise be produced by a #[must_use] on its return type, so any solution would have to either remove the #[must_use] from the function or else cause the message to not be shadowed.
Discussion in the ATmosphere