From bb4a8a93ad99dfc68a91b693f7b23afb1cdb0acd Mon Sep 17 00:00:00 2001
From: Matt Johnston <matt@ucc.asn.au>
Date: Sat, 19 Nov 2022 20:54:21 +0800
Subject: [PATCH] Note why Location is disabled

---
 src/error.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/error.rs b/src/error.rs
index 450b146..0a3273d 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -91,6 +91,7 @@ pub enum Error {
 
     // This state should not be reached, previous logic should have prevented it.
     // Create this using [`Error::bug()`] or [`.trap()`](TrapBug::trap).
+    // Location is currently disabled due to bloat.
     // #[snafu(display("Program bug {location}"))]
     // Bug { location: snafu::Location },
     /// Program bug
-- 
GitLab