Omit missing spans from Debug output
diff --git a/src/fallback.rs b/src/fallback.rs
index baeed69..7f3cc4e 100644
--- a/src/fallback.rs
+++ b/src/fallback.rs
@@ -414,6 +414,12 @@
     }
 }
 
+pub fn debug_span_field_if_nontrivial(debug: &mut fmt::DebugStruct, span: Span) {
+    if cfg!(procmacro2_semver_exempt) {
+        debug.field("span", &span);
+    }
+}
+
 #[derive(Clone)]
 pub struct Group {
     delimiter: Delimiter,