about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-09-22 15:19:38 +0000
committerbors <bors@rust-lang.org>2023-09-22 15:19:38 +0000
commit835d7d923b7a7234490fba5a0820eff2de1a60d3 (patch)
treebffd3ddec3eefcc3bc796a9c62866fb02f6fb9f0 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent84917c83a85444a06bd4a11ac81541e453f762c7 (diff)
parent1fac304bf53f35f2088fad9b40cd919cd7a485d9 (diff)
downloadrust-835d7d923b7a7234490fba5a0820eff2de1a60d3.tar.gz
rust-835d7d923b7a7234490fba5a0820eff2de1a60d3.zip
Auto merge of #115696 - RalfJung:closure-ty-print, r=oli-obk
adjust how closure/generator types are printed

I saw `&[closure@$DIR/issue-20862.rs:2:5]` and I thought it is a slice type, because that's usually what `&[_]` is... it took me a while to realize that this is just a confusing printer and actually there's no slice. Let's use something that cannot be mistaken for a regular type.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions