return - Possible to declare functions that will warn on unused results in Rust? -


does rust have way declare function, not using result warn - types?

something gcc's __attribute__((warn_unused_result));?

it appears #[must_use] attribute applicable structs, enums , unions (union not available in stable rust yet, though): source. think means can't override function.


Comments

Popular posts from this blog

cron - how to properly run Python script with crontab on every system startup -

elasticsearch - Is the order of operations guaranteed in a bulk update? -

Slow performance first queries on SQL Azure -