about summary refs log tree commit diff
path: root/compiler/rustc_hir
diff options
context:
space:
mode:
authorFolkert de Vries <folkert@folkertdev.nl>2025-07-25 15:18:51 +0200
committerFolkert de Vries <folkert@folkertdev.nl>2025-08-01 00:28:52 +0200
commit040f71e8123b5994177f787e64aecd9b06cdfa7e (patch)
treead58842198cb15cea7ae812e8d2881ab5832312e /compiler/rustc_hir
parentadcb3d3b4cd3b7c4cde642f3ed537037f293738e (diff)
downloadrust-040f71e8123b5994177f787e64aecd9b06cdfa7e.tar.gz
rust-040f71e8123b5994177f787e64aecd9b06cdfa7e.zip
loop match: error on `#[const_continue]` outside `#[loop_match]`
Diffstat (limited to 'compiler/rustc_hir')
-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 1b1b3ced44d..08361718108 100644
--- a/compiler/rustc_hir/src/hir.rs
+++ b/compiler/rustc_hir/src/hir.rs
@@ -3016,7 +3016,7 @@ impl fmt::Display for LoopIdError {
     }
 }
 
-#[derive(Copy, Clone, Debug, HashStable_Generic)]
+#[derive(Copy, Clone, Debug, PartialEq, HashStable_Generic)]
 pub struct Destination {
     /// This is `Some(_)` iff there is an explicit user-specified 'label
     pub label: Option<Label>,