]> git.lizzy.rs Git - rust.git/blobdiff - library/proc_macro/src/lib.rs
Rollup merge of #107100 - compiler-errors:issue-107087, r=lcnr
[rust.git] / library / proc_macro / src / lib.rs
index 8bff40c279aaa4ce2b9761c9a78ae32bfa93d6aa..938935771d64e24c84d775cd2c59472344a02a04 100644 (file)
@@ -582,7 +582,7 @@ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
 
 /// A line-column pair representing the start or end of a `Span`.
 #[unstable(feature = "proc_macro_span", issue = "54725")]
-#[derive(Copy, Clone, Debug, PartialEq, Eq)]
+#[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 (inclusive).
     #[unstable(feature = "proc_macro_span", issue = "54725")]