Skip to content

Commit 866ea14

Browse files
committed
Silence problematic non_local_definitions behavior around references
rust-lang/rust#121621 rust-lang/rust#120363
1 parent e0bf71b commit 866ea14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

serde_with/tests/serde_as/map_tuple_list.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ fn test_map_as_tuple_with_nested_complex_type() {
353353
);
354354
}
355355

356+
// Problematic handling around fundamental types: https://github.com/rust-lang/rust/issues/121621
357+
#[allow(unknown_lints, non_local_definitions)]
356358
#[test]
357359
fn test_map_as_tuple_list_works_with_serializer_that_needs_length_to_serialize_sequence() {
358360
use serde::{

0 commit comments

Comments
 (0)