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
Post a Comment