From 9d4fb447db84c51c242ed3d717844ea1c7c8fc6c Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 22 Apr 2019 16:42:41 -0700 Subject: [PATCH] Derive traits for LineColumn --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 6b0d484e..bcefc7a9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -301,6 +301,7 @@ impl fmt::Debug for SourceFile { /// /// This type is semver exempt and not exposed by default. #[cfg(span_locations)] +#[derive(Copy, Clone, Debug, PartialEq, Eq)] pub struct LineColumn { /// The 1-indexed line in the source file on which the span starts or ends /// (inclusive).