Deny unused_qualifications

This commit is contained in:
Sébastien Crozet 2023-01-13 10:28:22 +01:00
parent 924795be45
commit 00f1f11ca5

View File

@ -88,12 +88,7 @@ an optimized set of tools for computer graphics and physics. Those features incl
future_incompatible,
missing_copy_implementations
)]
#![cfg_attr(feature = "rkyv-serialize-no-std", allow(unused_results))] // TODO: deny this once bytecheck stops generating warnings.
#![cfg_attr(
not(feature = "rkyv-serialize-no-std"),
deny(unused_results),
deny(unused_qualifications)
)] // TODO: deny this globally
#![cfg_attr(not(feature = "rkyv-serialize-no-std"), deny(unused_results))] // TODO: deny this globally once bytecheck stops generating unused results.
#![doc(
html_favicon_url = "https://nalgebra.org/img/favicon.ico",
html_root_url = "https://docs.rs/nalgebra/0.25.0"