From 014fa8243f02a18eff4051c8993ad408a69214c1 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 31 Dec 2023 16:01:30 -0800 Subject: [PATCH] Restore documented cfg on LineColumn --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 230a398..53e0545 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -171,6 +171,7 @@ use std::error::Error; use std::path::PathBuf; #[cfg(span_locations)] +#[cfg_attr(doc_cfg, doc(cfg(feature = "span-locations")))] pub use crate::location::LineColumn; /// An abstract stream of tokens, or more concretely a sequence of token trees.