Hacker News new | ask | show | jobs
by paavohtl 1613 days ago
There is the #[must_use] attribute for function return values, which throws compiler warnings when results are unused. It is not a real part of the type system though, but it serves as a useful lint.