about summary refs log tree commit diff
path: root/compiler/rustc_query_system/src/ich/impls_syntax.rs
diff options
context:
space:
mode:
authorJacob Kiesel <jake@bitcrafters.co>2024-06-22 01:27:59 -0600
committerJacob Kiesel <jake@bitcrafters.co>2024-10-01 21:23:20 -0600
commitbb5a8276be2d3dbc97d0f52e90db15455d542edf (patch)
treeee179495725a17cf0a862ce5f6db95e0c6969813 /compiler/rustc_query_system/src/ich/impls_syntax.rs
parentbfe5e8cef698ccc4fca655b4cdbabf78fed43816 (diff)
downloadrust-bb5a8276be2d3dbc97d0f52e90db15455d542edf.tar.gz
rust-bb5a8276be2d3dbc97d0f52e90db15455d542edf.zip
add unstable support for outputting file checksums for use in cargo
Diffstat (limited to 'compiler/rustc_query_system/src/ich/impls_syntax.rs')
-rw-r--r--compiler/rustc_query_system/src/ich/impls_syntax.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_query_system/src/ich/impls_syntax.rs b/compiler/rustc_query_system/src/ich/impls_syntax.rs
index 8d7a6e4fa9b..5e450979273 100644
--- a/compiler/rustc_query_system/src/ich/impls_syntax.rs
+++ b/compiler/rustc_query_system/src/ich/impls_syntax.rs
@@ -68,6 +68,8 @@ impl<'a> HashStable<StableHashingContext<'a>> for SourceFile {
             // Do not hash the source as it is not encoded
             src: _,
             ref src_hash,
+            // Already includes src_hash, this is redundant
+            checksum_hash: _,
             external_src: _,
             start_pos: _,
             source_len: _,