summaryrefslogtreecommitdiffstats
path: root/src/location.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 13:40:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 13:40:32 +0000
commit86cc98ac45d2fe735c5103cb89040db0e159e1f5 (patch)
treeb32ea97ff2eef869149f1750a0e6f55c9fcff65c /src/location.rs
parentReleasing progress-linux version 1.0.81-1~progress7.99u1. (diff)
downloadrust-proc-macro2-86cc98ac45d2fe735c5103cb89040db0e159e1f5.tar.xz
rust-proc-macro2-86cc98ac45d2fe735c5103cb89040db0e159e1f5.zip
Merging upstream version 1.0.85.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--src/location.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location.rs b/src/location.rs
index 463026c..7190e2d 100644
--- a/src/location.rs
+++ b/src/location.rs
@@ -3,7 +3,7 @@ use core::cmp::Ordering;
/// A line-column pair representing the start or end of a `Span`.
///
/// This type is semver exempt and not exposed by default.
-#[cfg_attr(doc_cfg, doc(cfg(feature = "span-locations")))]
+#[cfg_attr(docsrs, doc(cfg(feature = "span-locations")))]
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
pub struct LineColumn {
/// The 1-indexed line in the source file on which the span starts or ends