Auto merge of #60573 - Zoxc:dep-stream-prefix-2, r=michaelwoerister
Auto merge of #60573 - Zoxc:dep-stream-prefix-2, r=michaelwoerister

Only hash dep node indices of deps of anon tasks

Another change split out from https://github.com/rust-lang/rust/pull/60035.

r? @michaelwoerister

aidancully/rust,aidancully/rust,graydon/rust,graydon/rust,aidancully/rust,graydon/rust,aidancully/rust,graydon/rust,aidancully/rust,graydon/rust,aidancully/rust,graydon/rust