diff --git a/tests/test.rs b/tests/test.rs index 543dbd0b1..c227b9066 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -2335,6 +2335,8 @@ fn test_raw_value_in_map_key() { #[repr(transparent)] struct RawMapKey(RawValue); + #[allow(unknown_lints)] + #[allow(non_local_definitions)] // false positive: https://github.com/rust-lang/rust/issues/121621 impl<'de> Deserialize<'de> for &'de RawMapKey { fn deserialize(deserializer: D) -> Result where