summaryrefslogtreecommitdiff
path: root/src/diag.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-02-17 11:55:28 +0100
committerLaurenz <laurmaedje@gmail.com>2022-02-17 13:28:04 +0100
commitab95627d873239182e7b28b266f8b9f9da5cdbb1 (patch)
treeae6589d60d32a7ae884326911600c733dc32d977 /src/diag.rs
parent5965515a1ef1fe398235311185d531efc2750247 (diff)
Switch to const generics for nodes
Diffstat (limited to 'src/diag.rs')
-rw-r--r--src/diag.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diag.rs b/src/diag.rs
index bd91df26..70a5bdaf 100644
--- a/src/diag.rs
+++ b/src/diag.rs
@@ -7,7 +7,7 @@ use crate::syntax::{Span, Spanned};
/// Early-return with a vec-boxed [`Error`].
macro_rules! bail {
($span:expr, $message:expr $(,)?) => {
- return Err($crate::diag::Error::boxed($span, $message,))
+ return Err($crate::diag::Error::boxed($span, $message))
};
($span:expr, $fmt:expr, $($arg:expr),+ $(,)?) => {