We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97d48be commit 21010f9Copy full SHA for 21010f9
compiler/rustc_query_system/src/dep_graph/dep_node.rs
@@ -164,7 +164,6 @@ pub struct WorkProductId {
164
impl WorkProductId {
165
pub fn from_cgu_name(cgu_name: &str) -> WorkProductId {
166
let mut hasher = StableHasher::new();
167
- cgu_name.len().hash(&mut hasher);
168
cgu_name.hash(&mut hasher);
169
WorkProductId { hash: hasher.finish() }
170
}
0 commit comments