Skip to content

Commit

Permalink
Merge pull request #172 from dtolnay/linecolumn
Browse files Browse the repository at this point in the history
Derive traits for LineColumn
  • Loading branch information
dtolnay authored Apr 23, 2019
2 parents 20458b6 + 9d4fb44 commit dd7a2a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit dd7a2a3

Please sign in to comment.