rust: Add deny(unused_must_use)

We're maintaining the operating system, let's hard require
that errors are checked.
This commit is contained in:
Colin Walters 2020-12-10 22:08:19 +00:00 committed by OpenShift Merge Robot
parent 4ce1cd2342
commit 9c9188ceae

View File

@ -4,6 +4,8 @@
* SPDX-License-Identifier: Apache-2.0 OR MIT * SPDX-License-Identifier: Apache-2.0 OR MIT
*/ */
#![deny(unused_must_use)]
// pub(crate) utilities // pub(crate) utilities
mod ffiutil; mod ffiutil;
mod includes; mod includes;