From 601151e398e208d233b9e40192a5d6f9cc06f173 Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Sat, 23 Nov 2024 16:57:32 +0100 Subject: [PATCH] fix(tests): update the error message --- tests/ui/matrix.stderr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ui/matrix.stderr b/tests/ui/matrix.stderr index bc39976f..ead9a8cd 100644 --- a/tests/ui/matrix.stderr +++ b/tests/ui/matrix.stderr @@ -1,4 +1,4 @@ -error: no rules expected the token `,` +error: no rules expected `,` --> tests/ui/matrix.rs:7:17 | 7 | _ = matrix!(,); @@ -6,7 +6,7 @@ error: no rules expected the token `,` | = note: while trying to match end of macro -error: no rules expected the token `,` +error: no rules expected `,` --> tests/ui/matrix.rs:8:34 | 8 | _ = matrix!( [1, 2], [3, 4], ,);