diff options
| author | bors <bors@rust-lang.org> | 2020-11-01 14:37:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-11-01 14:37:50 +0000 |
| commit | 1899c489d4c30b2640d30b77ac04f0a548834d81 (patch) | |
| tree | 9eda71b4e2c53d61f41639397c35ade922f0604f /src/test/codegen/src-hash-algorithm | |
| parent | e8cbaf2ae7fc5c564cacedbe55664797dc62d920 (diff) | |
| parent | 1bdcd02a70ef15d3602b52a340169ac68e757460 (diff) | |
| download | rust-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
