]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_ast/src/ast.rs
Drop tracking: improve break and continue handling
[rust.git] / compiler / rustc_ast / src / ast.rs
index 7c19559ed91f59fc10c2d3fdfb0d4a7c4ebc094d..e9135b7163025aff04b91749d10314e4be7e2031 100644 (file)
@@ -54,7 +54,7 @@
 /// ```
 ///
 /// `'outer` is a label.
-#[derive(Clone, Encodable, Decodable, Copy, HashStable_Generic)]
+#[derive(Clone, Encodable, Decodable, Copy, HashStable_Generic, Eq, PartialEq)]
 pub struct Label {
     pub ident: Ident,
 }