Skip to content
Myr

Suppress unknown_lints warning in test suite

Before adoption: this commit came in with the history the project adopted, so no landing records it.

When building with beta and older rustc: error: unknown lint: `mixed_script_confusables` --> test_suite/tests/test_gen.rs:7:10 | 7 | #![allow(mixed_script_confusables, clippy::trivially_copy_pass_by_ref)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> test_suite/tests/test_gen.rs:5:9 | 5 | #![deny(warnings)] | ^^^^^^^^ = note: `#[deny(unknown_lints)]` implied by `#[deny(warnings)]`

authored by David Tolnay · committed by David Tolnay · parent 764ebd9 · Browse files · 1 file+5 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−1 removed

  • tests:+5 added−1 removed

1 file+5 added−1 removed

modified:test_suite/tests/test_gen.rs+5 added-1 removed
2 unmodified lines
3// types involved.45#![deny(warnings)]6#![cfg_attr(feature = "unstable", feature(non_ascii_idents))]7#![allow(mixed_script_confusables, clippy::trivially_copy_pass_by_ref)]7#![allow(8 unknown_lints,9 mixed_script_confusables,10 clippy::trivially_copy_pass_by_ref11)]1213use serde::de::DeserializeOwned;14use serde::{Deserialize, Deserializer, Serialize, Serializer};15
783 unmodified lines