about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-05-23 19:09:57 +0200
committerGitHub <noreply@github.com>2020-05-23 19:09:57 +0200
commitb24030fc3ef21bb0f23a5ea8fc47d9684a4e27a6 (patch)
tree385286b013016fb038e9d76032aac35ed576e820 /src/test/codegen/src-hash-algorithm
parent75b0a68f35a06fc7aed8aa95831df8eace4afffb (diff)
parent407958a2b88d1028e2a86f5927091540f6be04c4 (diff)
downloadrust-b24030fc3ef21bb0f23a5ea8fc47d9684a4e27a6.tar.gz
rust-b24030fc3ef21bb0f23a5ea8fc47d9684a4e27a6.zip
Rollup merge of #72292 - ldm0:derefsteps, r=estebank
Replace obligation construction with deref_steps()

1. Use `probe()` to avoid unwanted binding committing during `deref_steps()`.
2. Fixes #59819 again by using `deref_steps()`, make the code cleaner. And if we want to suggest multiple dereferences (like: `consider dereferencing the borrow: "****a"`) in the future, this change will make it easier to achieve.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions