I wonder if you could write FFI bindings with a newtype as the return code and have that marked #[must_use]?
Replying to @TedMielczarek
With `#[repr(transparent)]` you have the FFI declaration itself indicate "must use". Otherwise, wrappers better use `Result`.
4:03 PM - 9 Feb 2017
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.