about summary refs log tree commit diff
path: root/compiler/rustc_hir/src/hir.rs
diff options
context:
space:
mode:
authorJake Goulding <jake.goulding@gmail.com>2025-03-28 16:12:07 -0400
committerJake Goulding <jake.goulding@gmail.com>2025-06-04 10:40:04 -0400
commit9a50cb4a0caa07b7b751afb70464066e4d6985d3 (patch)
tree01a480f7f1053d317f9b207b6ba2516117083949 /compiler/rustc_hir/src/hir.rs
parentd2bf16ad6d80827800798a00ba584f95e9689573 (diff)
downloadrust-9a50cb4a0caa07b7b751afb70464066e4d6985d3.tar.gz
rust-9a50cb4a0caa07b7b751afb70464066e4d6985d3.zip
Introduce the `mismatched_lifetime_syntaxes` lint
Diffstat (limited to 'compiler/rustc_hir/src/hir.rs')
-rw-r--r--compiler/rustc_hir/src/hir.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir/src/hir.rs b/compiler/rustc_hir/src/hir.rs
index 974c24ef0f8..2b197c716cd 100644
--- a/compiler/rustc_hir/src/hir.rs
+++ b/compiler/rustc_hir/src/hir.rs
@@ -206,7 +206,7 @@ impl ParamName {
     }
 }
 
-#[derive(Debug, Copy, Clone, PartialEq, Eq, HashStable_Generic)]
+#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, HashStable_Generic)]
 pub enum LifetimeKind {
     /// User-given names or fresh (synthetic) names.
     Param(LocalDefId),