about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-06-19 19:42:53 -0700
committerGitHub <noreply@github.com>2020-06-19 19:42:53 -0700
commit2d1bd57e60a141fc2a460539b69e228cc1d7010e (patch)
tree0886921d20d9554cc8ef9f7e8256f7fe2b805721 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentdac512e04aa7d670efa1f2f4258dc86a39b1e453 (diff)
parentb4ddd9183103586ba1456241b9c117a420bb6d6b (diff)
downloadrust-2d1bd57e60a141fc2a460539b69e228cc1d7010e.tar.gz
rust-2d1bd57e60a141fc2a460539b69e228cc1d7010e.zip
Rollup merge of #73027 - doctorn:issue-72690, r=estebank
Make `need_type_info_err` more conservative

Makes sure arg patterns we are going to suggest on are actually contained within the span of the obligation that caused the inference error (credit to @lcnr for suggesting this fix).

There's a subtle trade-off regarding the handling of local patterns which I've left a comment about.

Resolves #72690
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions