about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-11-01 14:37:50 +0000
committerbors <bors@rust-lang.org>2020-11-01 14:37:50 +0000
commit1899c489d4c30b2640d30b77ac04f0a548834d81 (patch)
tree9eda71b4e2c53d61f41639397c35ade922f0604f /src/test/codegen/src-hash-algorithm
parente8cbaf2ae7fc5c564cacedbe55664797dc62d920 (diff)
parent1bdcd02a70ef15d3602b52a340169ac68e757460 (diff)
downloadrust-1899c489d4c30b2640d30b77ac04f0a548834d81.tar.gz
rust-1899c489d4c30b2640d30b77ac04f0a548834d81.zip
Auto merge of #78553 - Nadrieril:fix-78549, r=varkor
Fix #78549

Before #78430, this worked because `specialize_constructor` didn't actually care too much which constructor was passed to it unless needed. That PR however handles `&str` as a special case, and I did not anticipate patterns for the `&str` type other than string literals.
I am not very confident there are not other similar oversights left, but hopefully only `&str` was different enough to break my assumptions.

Fixes https://github.com/rust-lang/rust/issues/78549
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions