We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
HashStable
1 parent 0fdde0c commit 3b5105cCopy full SHA for 3b5105c
compiler/rustc_macros/src/hash_stable.rs
@@ -54,7 +54,7 @@ pub fn hash_stable_generic_derive(mut s: synstructure::Structure<'_>) -> proc_ma
54
quote! {}
55
} else if let Some(project) = attrs.project {
56
quote! {
57
- &#bi.#project.hash_stable(__hcx, __hasher);
+ (&#bi.#project).hash_stable(__hcx, __hasher);
58
}
59
} else {
60
@@ -95,7 +95,7 @@ pub fn hash_stable_derive(mut s: synstructure::Structure<'_>) -> proc_macro2::To
95
96
97
98
99
100
101
0 commit comments