Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Change element type in test_invalid_scalar_type to one that does not …
Browse files Browse the repository at this point in the history
…deserialize from null
  • Loading branch information
dtolnay committed Aug 13, 2022
1 parent 1a82eaa commit 804d127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ fn test_invalid_scalar_type() {
#[derive(Deserialize, Debug)]
struct S {
#[allow(dead_code)]
x: [(); 1],
x: [i32; 1],
}

let yaml = "x:\n";
Expand Down

0 comments on commit 804d127

Please sign in to comment.