Spanned trait to get the full span of ast node
diff --git a/src/lib.rs b/src/lib.rs
index 5ba8c20..74a13bd 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -98,6 +98,9 @@
 #[cfg(feature = "parsing")]
 mod tt;
 
+#[cfg(all(procmacro2_unstable, feature = "parsing", feature = "printing"))]
+pub mod spanned;
+
 mod gen {
     #[cfg(feature = "visit")]
     pub mod visit;