From 2fc658c4e5c609df0862abc038a8e2f722c6064b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jana=20D=C3=B6nszelmann?= Date: Thu, 23 Oct 2025 11:50:55 +0200 Subject: [PATCH] remove use of deprecated syntax --- src/base_type.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base_type.rs b/src/base_type.rs index d050afc..2467012 100644 --- a/src/base_type.rs +++ b/src/base_type.rs @@ -311,7 +311,7 @@ mod test { } #[test] - #[should_panic(message="static strings used as atom is invalid")] + #[should_panic(expected="static string used as atom is invalid")] fn distinct_validators() { let _xa = Atom::from("x"); let _xn = AlphaNum::from("x");