diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-09-26 17:55:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-26 17:55:15 +0200 |
| commit | 95ea4a1a8a0c8786fdb0d6c63669ece927820ad3 (patch) | |
| tree | d65d373ce0b6b6f59811d74261374c0e494df878 /src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs | |
| parent | 01303936f37ef494bfe11012645ff7ca37606fdf (diff) | |
| parent | a048447ff42c0e7c793aa33c92aa8daf61576b71 (diff) | |
| download | rust-95ea4a1a8a0c8786fdb0d6c63669ece927820ad3.tar.gz rust-95ea4a1a8a0c8786fdb0d6c63669ece927820ad3.zip | |
Rollup merge of #64783 - onehr:onehrxn, r=varkor
Fix issue #64732 Based on issue #64732, when creating a byte literal with single quotes, the suggestion message would indicate that you meant to write a `str` literal, but we actually meant to write a byte string literal. So I changed the unescape_error_reporting.rs to decide whether to print out "if you meant to write a `str` literal, use double quotes", or "if you meant to write a byte string literal, use double quotes". Fixes #64732.
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs')
0 files changed, 0 insertions, 0 deletions
