summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-12-05 10:59:00 +0100
committerLaurenz <laurmaedje@gmail.com>2022-12-05 10:59:00 +0100
commit1bb05677faa7bd6566e1231ed2b16547f476b143 (patch)
tree2d60ab2b9d3f839cb52864df89a0965eb3bc6e92 /src
parentf57ce8643178c533a43c42baff3553f8613fb5ac (diff)
Small improvements
Diffstat (limited to 'src')
-rw-r--r--src/diag.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diag.rs b/src/diag.rs
index 29e43b91..e244ba7c 100644
--- a/src/diag.rs
+++ b/src/diag.rs
@@ -38,7 +38,7 @@ macro_rules! __error {
};
($span:expr, $fmt:expr, $($arg:expr),+ $(,)?) => {
- $crate::diag::error!($span, format!($fmt, $($arg),+))
+ $crate::diag::error!($span, $crate::util::format_eco!($fmt, $($arg),+))
};
}