]> git.lizzy.rs Git - rust.git/blobdiff - library/proc_macro/src/lib.rs
Rollup merge of #107287 - mattjperez:improve-fn-pointer-notes, r=compiler-errors
[rust.git] / library / proc_macro / src / lib.rs
index f0e4f5d8a8013d613098c4ecd0a2dfee921ac24a..1699f0d55bc7ec0035a20da0efa511789a1970e7 100644 (file)
@@ -581,7 +581,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")]