Add #[must_use]
to WIN32_ERROR
and other return types that represent error codes
#2900
Labels
enhancement
New feature or request
Is it worth marking
WIN32_ERROR
as#[must_use]
@kennykerr? My only concern after upgrading to 0.54.0 is that it is now quite possible to forget to handle errors and no warnings are given about this (unlike previous versions which forced usingResult
values).Cheers
Fotis
Originally posted by @fgimian in #2890 (comment)
The text was updated successfully, but these errors were encountered: