From 4379150168e87103739a196566a7ce17ff245f01 Mon Sep 17 00:00:00 2001 From: TheOddGarlic Date: Tue, 2 Aug 2022 12:40:48 +0300 Subject: [PATCH] bump hashbrown, fix warnings --- Cargo.toml | 2 +- test-suite/tests/parser.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5fb1847..f7dd8db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ members = ['test-suite'] [dependencies] serde = { version = "1.0.97", default-features = false, features = ["alloc"] } indexmap = { version = "1.0", optional = true } -hashbrown = { version = "0.7.2" } +hashbrown = { version = "0.12.3" } [dev-dependencies] serde_derive = "1.0" diff --git a/test-suite/tests/parser.rs b/test-suite/tests/parser.rs index b28fce0..fa006a8 100644 --- a/test-suite/tests/parser.rs +++ b/test-suite/tests/parser.rs @@ -298,6 +298,7 @@ fn floats() { } #[test] +#[allow(unused_must_use)] fn bare_key_names() { let a = " foo = 3 @@ -412,6 +413,7 @@ fn bad_table_names() { } #[test] +#[allow(unused_must_use)] fn table_names() { let a = " [a.\"b\"]