asomers / mockall

A powerful mock object library for Rust
Apache License 2.0
1.5k stars 62 forks source link

Fix unexpected_cfgs lints with the latest rustc #574

Closed asomers closed 5 months ago

asomers commented 5 months ago

The latest rustc attempts to detect invalid #[cfg()] values. But some of Mockall's tests conditionalize code on target_os = "multics" as an intentionally always-false condition. Suppress the lint for those files.